Hi,

Have a look in /etc/rc.d/init.d/. Here is where all your startup scripts are
housed. In that directory you must create a script (with the correct
permissions etc....) called qmail or something to that effect.

Clue : Have a look at some other scripts there to get an idea. I used ssh
and changed it to start qmail.

Once you have created the file enter the following:

chkconfig --add qmail
chkconfig --level qmail 5 on
chkconfig --level qmail 3 on

If the script is setup correcetly you should be able to enter the following
:

/etc/rc.d/init.d/qmail start  (which will start qmail)
/etc/rc.d/init.d/qmail stop (which will stop qmail)

If you are still struggling then mail me back.
I'll send you a copy of my start script and also give you more detailed
instructions on how to enter the script in its different run levels.

Cheers
Mark

Reply via email to