mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
Update kvmd-certbot (#125)
This commit is contained in:
parent
e1fba790c1
commit
4b7bbddef1
@ -108,7 +108,7 @@ case "$1" in
|
||||
renew)
|
||||
shift
|
||||
create_tmp
|
||||
cp -a "$cur"/{config,work,logs} "$tmp"
|
||||
cp -a "$cur"/* "$tmp"
|
||||
chown -R "$user:" "$tmp"
|
||||
sed -s -i -e "s| = $cur/| = $tmp/|g" "$tmp/config/renewal/"*
|
||||
sudo --preserve-env -u "$user" certbot renew "$@" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user