mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-19 12:05:16 +00:00
fix: restart apache2 after installing zabbix config (#9206)
Apache must restart to load zabbix-apache-conf. Without restart, /zabbix endpoint returns 404 until manual intervention.
This commit is contained in:
@@ -108,7 +108,7 @@ else
|
|||||||
AGENT_SERVICE="zabbix-agent"
|
AGENT_SERVICE="zabbix-agent"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl restart zabbix-server
|
systemctl restart zabbix-server apache2
|
||||||
systemctl enable -q --now zabbix-server $AGENT_SERVICE apache2
|
systemctl enable -q --now zabbix-server $AGENT_SERVICE apache2
|
||||||
msg_ok "Started Services"
|
msg_ok "Started Services"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user