]> code.ossystems Code Review - openembedded-core.git/commit
tcf-agent: Fix daemon termination
authorJan Kiszka <jan.kiszka@web.de>
Tue, 14 Nov 2017 19:56:19 +0000 (20:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Nov 2017 14:42:59 +0000 (14:42 +0000)
commit1e6235de0a3f6302cee37332f03b1ba403c789d1
tree0bae843a9087e73655d825b52b4d1237dddf1b9e
parentf3c9d850af1c8dab9d46ddb136d84710e7f73fa2
tcf-agent: Fix daemon termination

The upstream init script uses SIGUSR2 to terminate that daemon because
SIGTERM is ignored. As the killproc function does not support specifying
a signal, switch to start-stop-daemon. Drop the retry loop because
SIGUSR2 is lethal for agent.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.init