From 2422223dc8a71d7b24177ddbc7aeef2633a0ea61 Mon Sep 17 00:00:00 2001 From: Lai Zit Seng Date: Mon, 14 Sep 2020 12:44:38 +0800 Subject: [PATCH] Fix zabbix systemd config --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 5a85125..9f2b2d5 100755 --- a/setup.sh +++ b/setup.sh @@ -297,7 +297,7 @@ dpkg -i /tmp/zabbix-release_5.0-1+focal_all.deb apt -y update apt -y install zabbix-agent # Use a different config -sed -i '/^Environment=/ s/zabbix_agentd.conf/zabbix_agentd_ioi.conf/' /etc/systemd/system/multi-user.target.wants/zabbix-agent.service +sed -i '/^Environment=/ s/zabbix_agentd.conf/zabbix_agentd_ioi.conf/' /lib/systemd/system/zabbix-agent.service # Remove/clean up unneeded snaps