diff options
author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-01-16 15:46:07 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-16 07:44:40 -0800 |
commit | c18278bc04ce03e00fdbf5587dff5e05c958fe53 (patch) | |
tree | 53015e0c5b2d1a628cc6261bdeb6191fe73191c0 | |
parent | 20f95b4041d8aa7819085ac87aa960e0d032c8e7 (diff) | |
download | meta-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>
-rw-r--r-- | meta-oe/recipes-connectivity/zabbix/zabbix/zabbix-agent.service | 5 |
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 b18a96f8b6..56e5064281 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 | |||
3 | After=syslog.target network.target | 3 | After=syslog.target network.target |
4 | 4 | ||
5 | [Service] | 5 | [Service] |
6 | Type=oneshot | 6 | Type=simple |
7 | ExecStart=@SBINDIR@/zabbix_agentd | 7 | ExecStart=@SBINDIR@/zabbix_agentd -f |
8 | RemainAfterExit=yes | ||
9 | User=zabbix | 8 | User=zabbix |
10 | 9 | ||
11 | [Install] | 10 | [Install] |