Zhiliang Hu <[EMAIL PROTECTED]> wrote:

>However when I tested my system script starting the qmail at boot:
>
>#!/sbin/sh
>  if [ -f /var/qmail/rc ]; then
>        /var/qmail/rc &
>        echo "Starting qmail server"
>        echo "Please wait .........." && /sbin/sleep 5
>  else
>        echo "qmail server could not be started."
>  fi
>
>qmail was not started at boot, although the script works when
>tried at the command line.  (the script was in /.../rc3.d)
>
>Any hint?

Are you sure qmail wasn't started? Maybe it started, but because you
didn't "nohup" it, it was killed when the startup shell exited.

Are you sure the startup script was run? Stick a:

  env >/tmp/qmail-startup

at the top of the file and reboot. Then look for /tmp/qmail-startup.

>BTW, I am new so I am not on your list yet.  Please reply to me
>directly -- Thanks!!

Done.

-Dave

Reply via email to