[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Qmail doesn't stop
"Sebastian Paul Avarvarei" <proteus@proteusworld.com> writes:
> I have this problem that Qmail doesn't want to stop. More exactly,
> the "supervise" process doesn't want to stay dead. Already tried svc
> -d, svc -x, to no avail.
>
> My startup script for qmail looks like this:
>
> /var/service/dt-run/dt-svscan.init start
> /var/service/dt-run/dt-runlevel.init start
> exit 0
Normally, supervise isn't meant to ever stop.
In this case, it's svscan that's restarting it. There's not really a
way to stop this besides killing svscan (and svscan is started by init
in many installations, although it looks like not yours).
But why do you care about shutting supervise down? supervise is a
tiny little program that just sits and waits for a signal to start
qmail up, and svscan is a tiny little program that just scans for
entries in /service every few seconds and starts them up if it finds
them. Neither takes much memory or CPU, and neither really ever needs
to be restarted.
-----ScottG.