initscript: Do I have to wait for a service to stop?

Tom Lane tgl at redhat.com
Mon Jan 17 16:33:51 UTC 2011


"Richard W.M. Jones" <rjones at redhat.com> writes:
> Because the watchdog hasn't shut down when the init script returns,
> the LSB script test for this fails.

> So I don't know how to fix that one.  Any suggestions?

The traditional approach is to wait till you see the daemon has removed
its pidfile, which it ought to do only as the last externally visible
step in its shutdown.

			regards, tom lane


More information about the devel mailing list