summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/zabbix
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2020-01-16 15:46:07 +0800
committerKhem Raj <raj.khem@gmail.com>2020-01-16 07:44:40 -0800
commitc18278bc04ce03e00fdbf5587dff5e05c958fe53 (patch)
tree53015e0c5b2d1a628cc6261bdeb6191fe73191c0 /meta-oe/recipes-connectivity/zabbix
parent20f95b4041d8aa7819085ac87aa960e0d032c8e7 (diff)
downloadmeta-openembedded-c18278bc04ce03e00fdbf5587dff5e05c958fe53.tar.gz
zabbix: modify service file
-Fixed a bug that could not exit the service normally. When using systemd to exit the service, the child process cannot be terminated normally. Refer to the style of fedora to modify it. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/zabbix')
-rw-r--r--meta-oe/recipes-connectivity/zabbix/zabbix/zabbix-agent.service5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-oe/recipes-connectivity/zabbix/zabbix/zabbix-agent.service b/meta-oe/recipes-connectivity/zabbix/zabbix/zabbix-agent.service
index b18a96f8b..56e506428 100644
--- a/meta-oe/recipes-connectivity/zabbix/zabbix/zabbix-agent.service
+++ b/meta-oe/recipes-connectivity/zabbix/zabbix/zabbix-agent.service
@@ -3,9 +3,8 @@ Description=Zabbix Monitor Agent
3After=syslog.target network.target 3After=syslog.target network.target
4 4
5[Service] 5[Service]
6Type=oneshot 6Type=simple
7ExecStart=@SBINDIR@/zabbix_agentd 7ExecStart=@SBINDIR@/zabbix_agentd -f
8RemainAfterExit=yes
9User=zabbix 8User=zabbix
10 9
11[Install] 10[Install]