You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/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
|
|
|