]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
load config in cleanup command (fixes #137)
authorLukas Schauer <lukas@schauer.so>
Mon, 15 Feb 2016 20:41:18 +0000 (21:41 +0100)
committerLukas Schauer <lukas@schauer.so>
Mon, 15 Feb 2016 20:41:18 +0000 (21:41 +0100)
letsencrypt.sh

index 5b932a82a5d9d129557be6481e68b3395d9ee074..8e95c35abf73ee8c6b306dae5a12c429638560a6 100755 (executable)
@@ -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"