summaryrefslogtreecommitdiff
path: root/scripts/kvmd-certbot
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-06-25 21:01:46 +0300
committerMaxim Devaev <[email protected]>2022-06-25 21:01:46 +0300
commit9c65a61b8bce0aaf1eab07de9ff17e5b57bf3db8 (patch)
treed67e82d4b1286d166a13c48e61a9b6bd8da5bcaf /scripts/kvmd-certbot
parent6ffa5dc872402341acf183060d37e2b49c67db4c (diff)
remove csr and keys dirs
Diffstat (limited to 'scripts/kvmd-certbot')
-rwxr-xr-xscripts/kvmd-certbot2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kvmd-certbot b/scripts/kvmd-certbot
index 81f4d6ba..0c109ff5 100755
--- a/scripts/kvmd-certbot
+++ b/scripts/kvmd-certbot
@@ -114,7 +114,7 @@ case "$1" in
chmod 755 '$new/config/'{archive,live}
chmod 640 '$new'/config/archive/*/privkey*.pem
sed -s -i -e 's| = $tmp/| = $cur/|g' '$new/config/renewal/'*
- rm -f '$new/logs/'*.log.* '$new/config/'{csr,keys}/*.pem
+ rm -rf '$new/logs/'*.log.* '$new/config/'{csr,keys}
sync
kvmd-helper-swapfiles '$new' '$cur'
rm -rf '$new'