diff options
author | crupest <crupest@outlook.com> | 2022-11-23 13:03:37 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-23 13:03:37 +0800 |
commit | 01544c659a988ac7eed8758183d33f8d7764239d (patch) | |
tree | 343f77c47ffd61b501000c97ccc454c9704905d8 | |
parent | 8677ad88526e72b52a2772dc8c658d29d7c40344 (diff) | |
download | crupest-01544c659a988ac7eed8758183d33f8d7764239d.tar.gz crupest-01544c659a988ac7eed8758183d33f8d7764239d.tar.bz2 crupest-01544c659a988ac7eed8758183d33f8d7764239d.zip |
Auto-certbot use -n.
-rwxr-xr-x | docker/auto-certbot/daemon.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/auto-certbot/daemon.bash b/docker/auto-certbot/daemon.bash index 2e805cd..0311161 100755 --- a/docker/auto-certbot/daemon.bash +++ b/docker/auto-certbot/daemon.bash @@ -14,7 +14,7 @@ certbot --version # Check CRUPEST_AUTO_CERTBOT_RENEW_COMMAND is defined. if [ -z "$CRUPEST_AUTO_CERTBOT_RENEW_COMMAND" ]; then echo "CRUPEST_AUTO_CERTBOT_RENEW_COMMAND is not defined or empty" - CRUPEST_AUTO_CERTBOT_RENEW_COMMAND="certbot renew --webroot -w /var/www/certbot" + CRUPEST_AUTO_CERTBOT_RENEW_COMMAND="certbot renew -n --webroot -w /var/www/certbot" printf "Will use:\n%s\n" "$CRUPEST_AUTO_CERTBOT_RENEW_COMMAND" else printf "CRUPEST_AUTO_CERTBOT_RENEW_COMMAND is defined as:\n%s\n" "$CRUPEST_AUTO_CERTBOT_RENEW_COMMAND" |