Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 1998 09:17:59 -0700
From:      John-David Childs <jdc@nterprise.net>
To:        questions@FreeBSD.ORG
Subject:   Re: smtp restarting after changes to sendmail.*
Message-ID:  <19980114091759.24402@denver.net>
In-Reply-To: <199801140606.GAA00312@chaski.com>; from michael dorin on Wed, Jan 14, 1998 at 06:06:29AM %2B0000
References:  <199801140606.GAA00312@chaski.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday January 14, 1998, michael dorin <mike@chaski.com>
 had this to say about "smtp restarting after changes to sendmail.*":

> 
> How do I restart smtp without rebooting after I change the sendmail
> files?
> 
> -Mike

The PID of the active sendmail process should be listed in
/var/run/sendmail.pid

In the version I'm running (8.8.8) my /var/run/sendmail.pid looks
something like:

19428
/usr/sbin/sendmail -bd -q30m


SO: I do the following:

    kill -9 `head -1 /var/run/sendmail.pid`;/usr/sbin/sendmail -bd -q30m

-- 
John-David Childs (JC612)       Enterprise Internet Solutions
System Administrator            @denver.net/Internet-Coach/@ronan.net
  & Network Engineer            1039 S. Parker Rd. #I-8 Denver, CO 80231
As of this^H^H^H^H next week, passwords will be entered in Morse code.



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