mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-21 18:57:12 +00:00
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>
This commit is contained in:
parent
20f95b4041
commit
c18278bc04
@ -3,9 +3,8 @@ Description=Zabbix Monitor Agent
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=@SBINDIR@/zabbix_agentd
|
||||
RemainAfterExit=yes
|
||||
Type=simple
|
||||
ExecStart=@SBINDIR@/zabbix_agentd -f
|
||||
User=zabbix
|
||||
|
||||
[Install]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user