renewer certbot certs after launch/load env from file/listen on socket/disable http in AIO mode

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey
2023-10-09 21:31:56 +02:00
parent fb0bb721f7
commit dec9dc990f
11 changed files with 26 additions and 1 deletions

4
rootfs/bin/cbr.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
while [ "$(healthcheck.sh)" != "OK" ]; do sleep 10s; done
certbot --logs-dir /tmp/certbot-log --work-dir /tmp/certbot-work --config-dir /data/tls/certbot renew --quiet --config "/data/tls/certbot/config.ini" --preferred-challenges "dns,http" --no-random-sleep-on-renew