Files
truecharts/containers/apps/sogo/entrypoint.sh
T
Kjeld Schouten-LebbingandGitHub 4861a0764f Add SOGO container (#902)
* add initial work on sogo container

* oops

* some fixes

* fix bootstrap file ref.

* use focal repo

* fix copy mistake in entrypoint

* hmm

* no message

* Dont think GOSS tests are possible
2021-09-05 17:23:25 +02:00

23 lines
349 B
Bash
Executable File

#!/usr/bin/env bash
#shellcheck disable=SC1091
source "/shim/umask.sh"
source "/shim/vpn.sh"
if [[ "${SKIP_SOGO}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
echo "SKIP_SOGO=y, skipping SOGo..."
sleep 365d
exit 0
fi
# Run hooks
for file in /hooks/*; do
if [ -x "${file}" ]; then
echo "Running hook ${file}"
"${file}"
fi
done
exec "$@"