Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 1999 13:33:17 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Mark Conway Wirt <mark@intrepid.net>
Cc:        freebsd-isp@FreeBSD.ORG, chem@i-p-d.nl
Subject:   Restarting sendmail (was: cucipop virtual popservers)
Message-ID:  <19990123133317.H26886@freebie.lemis.com>
In-Reply-To: <19990122220045.C26750@intrepid.net>; from Mark Conway Wirt on Fri, Jan 22, 1999 at 10:00:45PM -0500
References:  <19990122201539.C4461@intrepid.net> <19990123120030.B26886@freebie.lemis.com> <19990122220045.C26750@intrepid.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 22 January 1999 at 22:00:45 -0500, Mark Conway Wirt wrote:
> On Sat, Jan 23, 1999 at 12:00:30PM +1030, Greg Lehey wrote:
>>
>> # kill -1 `cat /var/run/sendmail.pid `
>> Jan 23 11:58:26 freebie sendmail[188]: restarting /usr/sbin/sendmail on signal
>> Jan 23 11:58:26 freebie sendmail[27101]: starting daemon (8.9.2): SMTP
>                                                             ^^^^^
>
> I'm running 8.8.8.  Is this new behaviour for 8.9?

No.  It's been around for as long as I can remember.

One point that somebody made, however: I was cheating with the kill
command.  sendmail's pid file contains additional information, so this
command produces the following error messages:

kill: /usr/sbin/sendmail: no such pid
kill: -bd: no such pid
kill: -q30m: no such pid

The correct command is

  kill -1 `head -1 /var/run/sendmail.pid `

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990123133317.H26886>