Skip to content

Commit

Permalink
Support --debug for ssl-letsencrypt-renew.sh to receive some addition…
Browse files Browse the repository at this point in the history
…al information
  • Loading branch information
drscream committed Aug 31, 2020
1 parent 6f24fa3 commit e1387f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion copy/opt/core/bin/ssl-letsencrypt-renew.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/usr/bin/env bash
# Helper script to renew all SSL Let's Encrypt SSL certificates easily

[ "${1^}" = "--debug" ] || quiet='--quiet'

/opt/local/bin/certbot renew \
--text \
--non-interactive \
--quiet \
${quiet} \
--pre-hook "/opt/local/etc/letsencrypt/pre-hook.sh" \
--post-hook "/opt/local/etc/letsencrypt/post-hook.sh" \
--renew-hook "/opt/local/etc/letsencrypt/renew-hook.sh"

0 comments on commit e1387f7

Please sign in to comment.