aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-23 13:03:37 +0800
committercrupest <crupest@outlook.com>2022-11-23 13:03:37 +0800
commit647bebc5cc01ab6e1714885563d8b09e2ed51a24 (patch)
tree343f77c47ffd61b501000c97ccc454c9704905d8 /docker
parent64ad204405f894f2e39115f202d79db0b54b6281 (diff)
downloadcrupest-647bebc5cc01ab6e1714885563d8b09e2ed51a24.tar.gz
crupest-647bebc5cc01ab6e1714885563d8b09e2ed51a24.tar.bz2
crupest-647bebc5cc01ab6e1714885563d8b09e2ed51a24.zip
Auto-certbot use -n.
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/auto-certbot/daemon.bash2
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"