init.d scripts runs at rc5.d, not rc0.d

Charles R. Anderson cra at WPI.EDU
Tue Apr 6 15:05:30 UTC 2004


On Tue, Apr 06, 2004 at 09:50:35AM -0500, Brian Millett wrote:
> Question to the sages:
> Why?  If the lock file is so important to the success or failure of the
> execution of the script, then why not have the rc script write the lock
> file? 

The rc script won't know that the service is started or stopped--only
the init.d script will.  It is the responsibility of the init.d script
to manage the lock file.  It prevents e.g. starting the same service
twice.





More information about the fedora-devel-list mailing list