Too Slow To Stop

Mikkel L. Ellertson mikkel at infinity-ltd.com
Tue Aug 7 20:20:13 UTC 2007


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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070807/e68a61a5/attachment-0002.bin 


More information about the users mailing list