Too Slow To Stop

Mike - EMAIL IGNORED m_d_berger_1900 at yahoo.com
Tue Aug 7 20:38:06 UTC 2007


On Tue, 07 Aug 2007 15:20:13 -0500, Mikkel L. Ellertson wrote:

> 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.
> 
[...]

I think the 1 is ok:

root at mbrc32]# ls /etc/rc6.d/ | grep proc
K01proc_d

Mike.






More information about the fedora-list mailing list