]> 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>
Thu, 20 Jul 2017 09:59:46 +0000 (10:59 +0100)
commitb27d804dd0cbce3e4ed43e7fdfcc4e12c141e78d
treeabb994256098f062d3f0cddabce8b9a826ff8eab
parent4442811291ff8b15d5562be0a68a11516183b502
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