summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-02-03 16:32:53 +0200
committerMaxim Devaev <[email protected]>2024-02-03 16:32:53 +0200
commit22190674c67349f87f12188358423531f462fd03 (patch)
treeff757232c673323ac119bfd4a5ce5f25f2530faf
parent59b3b33102ff32cad7c5fb03cf4543fc4ee6fafb (diff)
kvm-nginx-mkconf: Removed missing files from kvmd-install restoreperm loop
-rw-r--r--kvmd.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd.install b/kvmd.install
index d4fef0fa..d30571ab 100644
--- a/kvmd.install
+++ b/kvmd.install
@@ -19,8 +19,8 @@ post_upgrade() {
chown kvmd-ipmi:kvmd-ipmi /etc/kvmd/ipmipasswd || true
chown kvmd-vnc:kvmd-vnc /etc/kvmd/vncpasswd || true
chmod 600 /etc/kvmd/*passwd || true
- for target in nginx redirect-to-https ssl listen-http listen-https; do
- chmod 644 "/etc/kvmd/nginx/$target.conf" || true
+ for target in nginx.conf.mako ssl.conf; do
+ chmod 644 "/etc/kvmd/nginx/$target" || true
done
chown kvmd /var/lib/kvmd/msd 2>/dev/null || true