summaryrefslogtreecommitdiff
path: root/kvmd.install
diff options
context:
space:
mode:
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