diff options
author | Martin Kelly <mkelly@xevo.com> | 2017-06-01 14:43:54 +0900 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-12 15:04:07 +0100 |
commit | 4f8ed1b3bf676a58055ebe01184b3594459a4118 (patch) | |
tree | 343884c01fe12ba12c0cb4eca05a260a12286311 | |
parent | caf2f858bf41154c72aba37d58b5a5336e02fbb8 (diff) | |
download | openembedded-core-4f8ed1b3bf676a58055ebe01184b3594459a4118.tar.gz openembedded-core-4f8ed1b3bf676a58055ebe01184b3594459a4118.tar.bz2 openembedded-core-4f8ed1b3bf676a58055ebe01184b3594459a4118.zip |
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.
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.service | 2 |
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 [Service] Type=forking ExecStart=@SBINDIR@/tcf-agent -d -L- -l0 +KillSignal=USR2 +SuccessExitStatus=USR2 [Install] WantedBy=multi-user.target |