listen configs

This commit is contained in:
Maxim Devaev
2021-11-12 01:49:51 +03:00
parent aa2de59ff5
commit 8e60b84288
6 changed files with 17 additions and 13 deletions

View File

@@ -15,6 +15,9 @@ post_upgrade() {
chown kvmd-ipmi:kvmd-ipmi /etc/kvmd/ipmipasswd
chown kvmd-vnc:kvmd-vnc /etc/kvmd/vncpasswd
chmod 600 /etc/kvmd/*passwd
for target in nginx redirect-to-https ssl listen-http listen-https; do
chmod 644 /etc/kvmd/nginx/$target.conf || true
done
chown kvmd /var/lib/kvmd/msd || true