From: David Villeger <[EMAIL PROTECTED]>

: If you use sys V, a script is called to kill qmail-send
: (/etc/rc?.d/K??script) with 'stop' as argument when you shutdown the
: machine. Make sure that this script kill -TERM qmail-send.

The "killall" command varies depending on unix variant.

I snarfed/modified the following from a solaris rc file -- YMMV:

PID=`/usr/bin/ps -eo pid,comm | /usr/bin/awk '{ if ($2 == "qmail-send")
print $1 }'`
kill -TERM $PID

--Adam

Reply via email to