web: run cron only when HTTPS and Let's Encrypt are enabled
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
da43e68854
commit
ab5f248913
@@ -1,3 +1,7 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
if [[ $DISABLE_HTTPS -ne 1 ]]; then
|
||||||
|
if [[ $ENABLE_LETSENCRYPT -eq 1 ]]; then
|
||||||
exec cron -f
|
exec cron -f
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user