mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
fixed permissions
This commit is contained in:
parent
a693b52bf0
commit
094106519a
@ -21,8 +21,12 @@ m kvmd spi
|
||||
m kvmd systemd-journal
|
||||
|
||||
m kvmd-pst kvmd
|
||||
|
||||
m kvmd-ipmi kvmd
|
||||
|
||||
m kvmd-vnc kvmd
|
||||
m kvmd-vnc kvmd-certbot
|
||||
|
||||
m kvmd-janus kvmd
|
||||
m kvmd-janus audio
|
||||
|
||||
|
||||
@ -62,6 +62,7 @@ if [ "$1" == "renew" ]; then
|
||||
rm -rf '$new'
|
||||
cp -a '$tmp' '$new'
|
||||
rm '$new/updated'
|
||||
chmod 750 '$new/config/'{archive,live}
|
||||
chmod 640 '$new'/config/archive/*/privkey*.pem
|
||||
sed -s -i -e 's| = $tmp/| = $cur/|g' '$new/config/renewal/'*
|
||||
sync
|
||||
@ -91,6 +92,7 @@ else
|
||||
--webroot-path="$web" \
|
||||
--deploy-hook="/usr/bin/bash -c '
|
||||
set -ex
|
||||
chmod 750 '$cur/config/'{archive,live}
|
||||
cd \"\$RENEWED_LINEAGE\"
|
||||
chmod 640 privkey.pem
|
||||
ln -s fullchain.pem server.crt
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user