Bug#271686: exim4-daemon-heavy: Add command force-stop to /etc/init.d/exim4

Andreas Metzler Andreas Metzler <ametzler@downhill.at.eu.org>, 271686@bugs.debian.org
Sat, 6 Nov 2004 11:14:34 +0100


On 2004-09-14 Jari Aalto <jari.aalto@poboxes.com> wrote:
> Package: exim4-daemon-heavy
> Version: 4.34-4
> Severity: wishlist

> After updating configuration files I had made a small error
> which causes transport (pipe) to launch processes over and over. 
> At emergency I tried to shut down exim with:

> 	/etc/init.d/exim4 stop

> However this did not shut down the child processes and the processes
> kepts launching new process and new...

> If possible, consider adding new command line option which would kill
> all exim processes from process table. Something like

>         /etc/init.d/exim4 force-stop

> I was bit on a hurry in contructing an AWK script to get the PIDs from
> ps(1) while the harddrive spinned like a mad dog....
[...]

How about "killall exim4"? (If I was in a similar situation I probabbly
would not find or even search for "force-stop" in the init-script but
would gor killall, or pgrep immideately)
                  cu andreas