]> code.ossystems Code Review - openembedded-core.git/commit
tcf-agent: Fix daemon termination
authorJan Kiszka <jan.kiszka@web.de>
Sun, 30 Apr 2017 15:28:01 +0000 (17:28 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Jun 2017 14:04:07 +0000 (15:04 +0100)
commit7a47752f8223f3c0ed4354d5e39f1319071acf41
tree12f32e3538e6e4069ed26a09ee627d9241f15513
parent4f8ed1b3bf676a58055ebe01184b3594459a4118
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>
meta/recipes-devtools/tcf-agent/tcf-agent/tcf-agent.init