We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e44a36 commit 0a9f319Copy full SHA for 0a9f319
renew_cert.sh
@@ -26,5 +26,8 @@ certbot renew --webroot --webroot-path "$DIR/letsencrypt"
26
CERT_HASH_AFTER=$(md5sum $TLS_CERT_FILE | awk '{ print $1 }')
27
28
if [[ "$CERT_HASH_BEFORE" != "$CERT_HASH_AFTER" ]]; then
29
+ echo "The certificate has changed. Gracefully restarting the server."
30
bash "$DIR/admin/gracefulRestart.sh"
31
+else
32
+ echo "The certificate has not changed."
33
fi
0 commit comments