[CentOS] # chkconfig: kill at run level 3

Nico Kadel-Garcia nkadel at gmail.com
Sat Dec 4 12:41:59 UTC 2010


On Fri, Dec 3, 2010 at 7:30 PM, Michael D. Berger
<m_d_berger_1900 at yahoo.com> wrote:
> 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?

Read the manual page for the "chkconfig" command, and then run:
   /sbin/chkconfig "scriptname" off



More information about the CentOS mailing list