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:
Alpha Vylly
2025-11-17 03:21:28 -03:00
committed by GitHub
parent 36630a7e4b
commit 0296bd63c3

View File

@@ -108,7 +108,7 @@ else
AGENT_SERVICE="zabbix-agent"
fi
systemctl restart zabbix-server
systemctl restart zabbix-server apache2
systemctl enable -q --now zabbix-server $AGENT_SERVICE apache2
msg_ok "Started Services"