[oe-commits] [openembedded-core] 02/02: tcf-agent: kill with USR2 in systemd stop

git at git.openembedded.org git at git.openembedded.org
Thu Jul 20 10:00:43 UTC 2017


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

rpurdie pushed a commit to branch pyro
in repository openembedded-core.

commit a8d25315baf3226e2213e1cfba1d7023ec02a401
Author: Martin Kelly <mkelly at xevo.com>
AuthorDate: Thu Jun 1 14:43:54 2017 +0900

    tcf-agent: kill with USR2 in systemd stop
    
    tcf-agent ignores SIGTERM, so upstream uses USR2 instead. This issue was noticed
    by Jan Kiszka and Brian Avery around the same time:
    
    https://patchwork.openembedded.org/patch/139546/
    https://patchwork.openembedded.org/patch/139560/
    
    However, these patches fixed only the init scripts, not the systemd service
    file. This patch fixes the systemd file.
    
    (From OE-Core rev: 4f8ed1b3bf676a58055ebe01184b3594459a4118)
    
    Signed-off-by: Martin Kelly <mkelly at xevo.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service b/meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service
index fd9a6c4..a486ac7 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service
@@ -5,6 +5,8 @@ After=network.target
 [Service]
 Type=forking
 ExecStart=@SBINDIR@/tcf-agent -d -L- -l0
+KillSignal=USR2
+SuccessExitStatus=USR2
 
 [Install]
 WantedBy=multi-user.target

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


More information about the Openembedded-commits mailing list