Hi,
Even running the stop process of qmail, the qpop3 process keeps alive
and running.
My code:
# begin -- /etc/rc.d/init.d/qmaild (just start and stop - from
lifewithqmail) --
#!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
case "$1" in
start)
echo -
On Fri, Feb 09, 2001 at 09:15:25AM -0200, Ari Arantes Filho mumbled:
> env - PATH="$PATH" svscan &
> echo $! > /var/run/svscan.pid
You are getting the pid of the env program. You must start svscan
without a wrapper like env in order to get echo $! to work.
/Martin
Ari Arantes Filho wrote:
> > env - PATH="$PATH" svscan &
> > echo $! > /var/run/svscan.pid
Martin Akesson wrote:
> You are getting the pid of the env program. You must start svscan
> without a wrapper like env in order to get echo $! to work.
His script is based on Dave Sill's LWQ start