Hello ppl!

I have
HP-UX web1 B.11.00 U 9000/800 610339382 unlimited-user license

my qmail start script runs Ok, but qmail stops. When I restart qmail deamon
manualy it keeps runing.

here is what I run:
#!/sbin/sh
#
# /etc/rc*.d/S**qmail - Start/Stop the qmail daemon
#

PATH=/usr/bin:/bin:/var/qmail/bin:/var/qmail/conf:$PATH

case $1 in
"start")
#       csh -cf '/var/qmail/rc &' && echo -n ' qmail'
        csh -cf '/var/qmail/bin/qmail-start ./Mailbox splogger qmail &' &&
echo -n ' qmail'
        sleep 10
        ;;
"stop")
        pid=`/usr/bin/ps -e | /usr/bin/grep qmail-send | /usr/bin/sed -e
's/^  *//' -e 's/ .*//'`
        if test "$pid"
        then
                kill $pid
        fi
        ;;
"start_msg")
        echo "Starting qmail"
        ;;
"stop_msg")
        echo "Stopping qmail"
        ;;
*)
        echo "usage: /sbin/init.d/qmail {start|stop}"
        ;;
esac


Any ideas?


================================
Regards,
Eldar Imangulov
([EMAIL PROTECTED])
http://www.netcity.ru/

Reply via email to