[CentOS] # chkconfig: kill at run level 3

Michael D. Berger

m_d_berger_1900 at yahoo.com
Sat Dec 4 00:30:30 UTC 2010


In the control script of my daemon in /etc/init.d?, I have
   # chkconfig: 35 97 3

The result of this is that I have links:
   /etc/rc.d/rc1.d/K03...
   /etc/rc.d/rc3.d/S97...
   /etc/rc.d/rc5.d/S97...

As mentioned in a previous thread, my complex daemon throws
an exception when I shutdown.  Perhaps things might be better
if I had:
   /etc/rc.d/rc3.d/K03...

Might this be a good idea?  If so, how can I make it happen
automatically?

Thanks,
Mike.




More information about the CentOS mailing list