summaryrefslogtreecommitdiff
path: root/kvmd.install
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-11-12 01:49:51 +0300
committerMaxim Devaev <[email protected]>2021-11-12 01:49:51 +0300
commit8e60b8428814ffc8092a749a3d830d1f46309cae (patch)
tree00dac91530ad8c7029214285f1b2dd58077b8079 /kvmd.install
parentaa2de59ff5c500fa8617af5f2c26309e065bb8df (diff)
listen configs
Diffstat (limited to 'kvmd.install')
-rw-r--r--kvmd.install3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvmd.install b/kvmd.install
index 4a683804..e693e81a 100644
--- a/kvmd.install
+++ b/kvmd.install
@@ -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