mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user