Update kvmd-certbot (#125)

This commit is contained in:
vipergts450 2023-03-29 13:36:52 -04:00 committed by GitHub
parent e1fba790c1
commit 4b7bbddef1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 "$@" \