diff options
author | Daniel Hansson <daniel@techandme.se> | 2017-03-20 17:46:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-20 17:46:04 +0300 |
commit | fcc45426c982501f1c769820ff7fa4b88b4a5eff (patch) | |
tree | f36f737414eec4dfc6ace8a74232b9b77901ffa6 /lets-encrypt | |
parent | bb6b0a10c66adb108e04df6f835d717d9cab75aa (diff) |
Update renewal command (#175)
Diffstat (limited to 'lets-encrypt')
-rw-r--r-- | lets-encrypt/test-new-config.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lets-encrypt/test-new-config.sh b/lets-encrypt/test-new-config.sh index 443c1532..6cf59a35 100644 --- a/lets-encrypt/test-new-config.sh +++ b/lets-encrypt/test-new-config.sh @@ -65,7 +65,7 @@ DATE='$(date +%Y-%m-%d_%H:%M)' cat << CRONTAB > "$SCRIPTS/letsencryptrenew.sh" #!/bin/sh service apache2 stop -if ! letsencrypt renew > /var/log/letsencrypt/renew.log 2>&1 ; then +if ! certbot renew --quiet --no-self-upgrade > /var/log/letsencrypt/renew.log 2>&1 ; then echo "Let's Encrypt FAILED!"--$DATE >> /var/log/letsencrypt/cronjob.log service apache2 start else |