Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 1998 18:42:18 +0200 (IST)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        stephen farrell <stephen@farrell.org>
Cc:        michael dorin <mike@chaski.com>, questions@FreeBSD.ORG
Subject:   Re: smtp restarting after changes to sendmail.*
Message-ID:  <Pine.BSF.3.96.980114184059.20330A-100000@gatekeeper.barcode.co.il>
In-Reply-To: <8767nnf51i.fsf@phaedrus.uchicago.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


On 14 Jan 1998, stephen farrell wrote:

> michael dorin <mike@chaski.com> writes:
> 
> > How do I restart smtp without rebooting after I change the sendmail
> > files?
> 
> In my opinion this is a benefit of sysV way of doing things over
> BSD--under solaris, e.g., you do /etc/init.d/sendmail stop;
> /etc/init.d/sendmail start and you don't have to worry about flags and 
> so on.
> 
> Unless I'm sadly mistaken and need to take myself out and shoot
> myself, under freebsd you need to (a) ps -auxx and find the sendmail
> process and kill it (or use killall, which I never think of b/c I use
> solaris so much, and killall in solaris does something totally
> immoral) (b) check the flags for sendmail in /etc/rc.conf, and then
> (c) run sendmail (which is in /usr/sbin) with those flags.  (of course
> you quickly learn /usr/sbin/sendmail -bd -q1h).

As someone else already noted, you can simply 
kill -1 `head -1 /var/run/sendmail.pid`
and be done with it. No need to shoot yourself though... ;-)

> 
> --
> 
> Steve Farrell
> 
> 
Nadav




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980114184059.20330A-100000>