[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]