Public bug reported:
I have a daemon that is not able to intercept a killing signal and do
the necessary clean up, by killing its own child processes.
Rather than coding a pretty complicated solution to that problem, I
found it much easier to modify the start-stop-daemon program with a new
option, --killpg. I attach the patch, it is tested and in operation now
and works just fine. I hope that you will consider making this a part
of future releases; it is a small change that does a really useful
thing; I thought that other people than myself could profit from it.
best regards
Peder Chr. Nørgaard
The patch is made against trusty tahr beta 1 dpkg, version 1.17.5ubuntu5
** Affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
** Tags: killpg start-stop-daemon
** Patch added: "Patch to add --killpg option to start-stop-daemon program"
https://bugs.launchpad.net/bugs/1297148/+attachment/4042260/+files/stop-start.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1297148
Title:
wish: Extend the start-stop-daemon program with --killpg option
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1297148/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs