diff options
| author | crupest <crupest@outlook.com> | 2022-11-25 14:17:00 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-11-25 14:17:00 +0800 | 
| commit | 7e55ec793a42db3c91f606b662a9ba6c7c561eed (patch) | |
| tree | 97a5ffc538e412bbc3da96dba902d2f7677509aa | |
| parent | 7cfc7857f00f6dfa516bafcba59ebd2798762990 (diff) | |
| download | crupest-7e55ec793a42db3c91f606b662a9ba6c7c561eed.tar.gz crupest-7e55ec793a42db3c91f606b662a9ba6c7c561eed.tar.bz2 crupest-7e55ec793a42db3c91f606b662a9ba6c7c561eed.zip  | |
Force test renewal.
| -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 fcdd92f..bc60ca4 100755 --- a/docker/auto-certbot/daemon.bash +++ b/docker/auto-certbot/daemon.bash @@ -58,7 +58,7 @@ if [ -n "$CRUPEST_AUTO_CERTBOT_POST_HOOK" ]; then  fi  # Use test server to test. -certbot certonly  -n --agree-tos --test-cert --dry-run -m "$CRUPEST_EMAIL" --webroot -w /var/www/certbot "${options[@]}" +certbot certonly  -n --agree-tos --force-renewal --test-cert --dry-run -m "$CRUPEST_EMAIL" --webroot -w /var/www/certbot "${options[@]}"  function check_and_renew_cert {      expire_info=$(openssl x509 -enddate -noout -in "$CRUPEST_CERT_PATH")  | 
