diff --git a/example/gateway/certbot/files/crontab_nobody b/example/gateway/certbot/files/crontab_nobody index a577bdb..7612fe8 100644 --- a/example/gateway/certbot/files/crontab_nobody +++ b/example/gateway/certbot/files/crontab_nobody @@ -1 +1,2 @@ +@reboot /usr/local/bin/python3 /certbot/scripts/certbot.py >/dev/null 2>&1 @weekly /usr/local/bin/certbot renew --webroot -w /certbot/webroot --server https://127.0.11.1:14000 --no-verify-ssl -n --agree-tos >/dev/null 2>&1 diff --git a/example/gateway/focker-compose.yml b/example/gateway/focker-compose.yml index e29de25..84b962b 100644 --- a/example/gateway/focker-compose.yml +++ b/example/gateway/focker-compose.yml @@ -33,9 +33,6 @@ jails: mounts: certbot-data: /usr/local/etc/letsencrypt certbot-webroot: /certbot/webroot - exec.start: | - ( /usr/bin/su -m nobody -c "python3 /certbot/scripts/certbot.py" && \ - /bin/sh /etc/rc ) & nginx-https: image: nginx-https