Hi, I recently install qmail in a SuSE 7.0 Linux. I follow the instructions
of the document My life with qmail, but when I make the scripts for start,
stop and restart for init.d, I can't execute this script in root user, I
change the mode to 755 and I can´t execute this file. How can I do for
execute this script:
#!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
case "$1" in
start)
echo -n "Starting qmail: svscan"
cd /var/qmail/supervise
env - PATH="$PATH" svscan &
echo $! > /var/run/svscan.pid
echo "."
;;
stop)
echo -n "Stopping qmail: svscan"
kill `cat /var/run/svscan.pid`
echo -n " qmail"
svc -dx /var/qmail/supervise/*
echo -n " logging"
svc -dx /var/qmail/supervise/*/log
echo "."
;;
esac
exit 0
Thank's, Carlos
P.D. I really want change the sendmail for qmail...