Re: Too Slow To Stop

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

 



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@mbrc32]# ls /etc/rc6.d/ | grep proc
K01proc_d

Mike.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux