From: Lukas Schauer Date: Mon, 15 Feb 2016 20:41:18 +0000 (+0100) Subject: load config in cleanup command (fixes #137) X-Git-Tag: v0.1.0~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dec95fff15af0f73adc60eb7a06accd5f3ede22f;p=thirdparty%2Fdehydrated.git load config in cleanup command (fixes #137) --- diff --git a/letsencrypt.sh b/letsencrypt.sh index 5b932a8..8e95c35 100755 --- a/letsencrypt.sh +++ b/letsencrypt.sh @@ -666,6 +666,8 @@ command_revoke() { # Usage: --cleanup (-gc) # Description: Move unused certificate files to archive directory command_cleanup() { + load_config + # Create global archive directory if not existant if [[ ! -e "${BASEDIR}/archive" ]]; then mkdir "${BASEDIR}/archive"