mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
remove csr and keys dirs
This commit is contained in:
parent
6ffa5dc872
commit
9c65a61b8b
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user