/etc/rc.d./init.d/qmail start (in my rh6)
or go to the subdir where script is an
./script start
What is the error ? send it !
----- Original Message -----
From: Ing. Carlos Alberto Dávila Cantú <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 11:17 PM
Subject: First time with qmail
> 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...
>
>
>
>