[oe-commits] [meta-openembedded] 01/03: zabbix: modify service file

git at git.openembedded.org git at git.openembedded.org
Thu Jan 16 15:44:51 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit c18278bc04ce03e00fdbf5587dff5e05c958fe53
Author: Zang Ruochen <zangrc.fnst at cn.fujitsu.com>
AuthorDate: Thu Jan 16 15:46:07 2020 +0800

    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 at cn.fujitsu.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-connectivity/zabbix/zabbix/zabbix-agent.service | 5 ++---
 1 file 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 b18a96f..56e5064 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
 After=syslog.target network.target
 
 [Service]
-Type=oneshot
-ExecStart=@SBINDIR@/zabbix_agentd
-RemainAfterExit=yes
+Type=simple
+ExecStart=@SBINDIR@/zabbix_agentd -f
 User=zabbix
 
 [Install]

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list