Skip to content

Commit

Permalink
pass any arguments to certbot-auto
Browse files Browse the repository at this point in the history
  • Loading branch information
zamronypj committed May 12, 2019
1 parent 8442dd2 commit 8639347
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions letsencrypt.whm.renew.sh
Expand Up @@ -6,7 +6,7 @@
#
# Example usage:
#
# ./letsencrypt.whm.renew.sh
# ./letsencrypt.whm.renew.sh [optional parameter to pass to certbot-auto]
#
# @author Zamrony P. Juhara <zamronypj@yahoo.com>
#------------------------------------------------------------------------------
Expand Down Expand Up @@ -81,8 +81,8 @@ install_cert() {
fi
}


$CERTBOT_BIN renew
# pass any optional arguments to certbot if any
$CERTBOT_BIN renew "$@"

for f in "$BASE_LETSENCRYPT_CERT_DIR"/*; do
if [[ -d "$f" && ! -L "$f" ]]; then
Expand Down

0 comments on commit 8639347

Please sign in to comment.