Subject: Re: The new rc.d stuff...
To: Brett Lymn <blymn@baea.com.au>
From: Luke Mewburn <lukem@cs.rmit.edu.au>
List: current-users
Date: 04/10/2000 19:29:43
Brett Lymn writes:
> b) type "kill -KILL `cat /var/run/sendmail.pid`", rm the file and then
>    type /usr/sbin/sendmail -bd -q1h

actually
     kill -KILL `head -1 /var/run/sendmail.pid`
because more than just the pid exists in the file.

some programs even need something like
     kill -KILL `sed 1q /var/run/sendmail.pid | awk '{print $1}'`
because the pid is only the first word of the first line.


you get the idea in any case...