Tillman <[EMAIL PROTECTED]> writes:

> Or, as it's RedHat, use the chkconfig utility after creating your rc
> script in the /etc/rc.d/init.d directory.  It handles the creation of
> the symlinks, by run level.  Saves you a few steps, and if consistently
> used produces consistent results (unlike my lets-toss-something-together
> usual level of consistency :-)

I haven't seen anyone yet mention that if you use chkconfig, you have to
have a comment in the init script that tells it what runlevels to create
links for.

Here's an example from my qmail init script:

# chkconfig: 345 60 20
# description: qmail is the mail subsystem, handling both accepting new \
#              mail and sending outgoing mail.

-- 
Russ Allbery ([EMAIL PROTECTED])         <URL:http://www.eyrie.org/~eagle/>

Reply via email to