Files
jitsi-meet-deployment/web/rootfs/etc/services.d/cron/run
Saúl Ibarra Corretgé cb5a753282 config: simplify configuration
Use default values everywhere so they don't need to be specified in the
.env file.

This makes the default .env file much smaller (the larger config options
are documented in the handbook) and should make it easier to port the
setup to runtimes other than Docker Compose.
2022-05-20 10:53:12 +02:00

10 lines
264 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
if [[ $DISABLE_HTTPS -ne 1 ]] && [[ $ENABLE_LETSENCRYPT -eq 1 ]]; then
exec cron -f
else
# if cron should not be started,
# prevent s6 from restarting this script again and again
s6-svc -O /var/run/s6/services/cron
fi