From b33356d168c0fec9b2df387b51240fa6566ca145 Mon Sep 17 00:00:00 2001 From: Martin Kelly Date: Thu, 1 Jun 2017 14:43:54 +0900 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-devtools') 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 fd9a6c4d56..a486ac7bad 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 -- cgit v1.2.3-54-g00ecf