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

Re: Too Slow To Stop



Mike - EMAIL IGNORED wrote:
> I have a daemon, written in C++, that must
> stop working immediately on a system shutdown.
> in its startup script, I put:
> 
> # chkconfig: 35 90 1
> 
> I presume the "1" means it should be among the
> first to be stopped, but it goes on too long.
> 
> Any suggestions?  Perhaps a system call that
> I could add that would inform it that the
> system is going down?
> 
> Thanks for your help.
> Mike.
> 
> 
Try changing the 1 to 01. You may also want to read about the
init-script format in /usr/share/doc/initscripts-8.45.7/sysvinitfiles.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


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