Init script not called during system shutdown

SIG - Pédagogie sigpedag at univ-paris1.fr
Tue Dec 9 15:05:41 UTC 2008


Barry Brimer a écrit :
> Your script needs to touch a /var/lock/subsys/<service name> file upon 
> successful startup, and remove it on a successful stop.  In a shutdown, 
> services are stopped that have a lock file in /var/lock/subsys.

Thanks for your quick reply, that was exactly the problem. I wasn't 
aware of these "pid-like" system, I suppose it is meant to prevent the 
system to stop services already stopped...

Regards,

-- 
Nicolas

-- 
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.




More information about the redhat-list mailing list