summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMartin Kelly <mkelly@xevo.com>2017-06-01 14:43:54 +0900
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-20 11:00:23 +0100
commit5686f4e1fe5229705b8c7d35895aa03827796d13 (patch)
tree0ebd381e0c7fa017ee68c24369e0069862fdccef /meta
parent4ba7143744320cfb5037e328c2aa25ff316d3ba5 (diff)
downloadpoky-5686f4e1fe5229705b8c7d35895aa03827796d13.tar.gz
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) (From OE-Core rev: a8d25315baf3226e2213e1cfba1d7023ec02a401) Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service2
1 files changed, 2 insertions, 0 deletions
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
5[Service] 5[Service]
6Type=forking 6Type=forking
7ExecStart=@SBINDIR@/tcf-agent -d -L- -l0 7ExecStart=@SBINDIR@/tcf-agent -d -L- -l0
8KillSignal=USR2
9SuccessExitStatus=USR2
8 10
9[Install] 11[Install]
10WantedBy=multi-user.target 12WantedBy=multi-user.target