From emechler@radix.cryptio.net  Tue Jan 16 18:41:23 2001
Return-Path: <emechler@radix.cryptio.net>
Received: from radix.cryptio.net (radix.cryptio.net [199.181.107.213])
	by hub.freebsd.org (Postfix) with ESMTP id C708A37B402
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 16 Jan 2001 18:41:22 -0800 (PST)
Received: (from emechler@localhost)
	by radix.cryptio.net (8.11.0/8.11.0) id f0H2fMN28914;
	Tue, 16 Jan 2001 18:41:22 -0800 (PST)
Message-Id: <200101170241.f0H2fMN28914@radix.cryptio.net>
Date: Tue, 16 Jan 2001 18:41:22 -0800 (PST)
From: Erick Mechler <emechler@radix.cryptio.net>
Reply-To: emechler@radix.cryptio.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: /etc/mail/Makefile tweak to restart sendmail
X-Send-Pr-Version: 3.2

>Number:         24397
>Category:       bin
>Synopsis:       /etc/mail/Makefile tweak to restart sendmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gshapiro
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 16 18:50:02 PST 2001
>Closed-Date:    Thu Feb 22 09:58:59 PST 2001
>Last-Modified:  Thu Feb 22 09:59:32 PST 2001
>Originator:     Erick Mechler
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:

FreeBSD 4.x

>Description:

This patch is just a way to easily restart the sendmail process using the Makefile installed into /etc/mail/Makefile.  Although this isn't necessary a lot of the time, it's proven useful for me in several cases and might be a good addition to the system.

>How-To-Repeat:
>Fix:

*** Makefile.orig       Tue Jan 16 18:05:40 2001
--- Makefile    Tue Jan 16 17:02:52 2001
***************
*** 29,31 ****
--- 29,34 ----

  clean:
        rm -f access.db virtusertable.db mailertable.db
+
+ restart:
+       kill -HUP `head -1 /var/run/sendmail.pid`

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gshapiro 
Responsible-Changed-By: gshapiro 
Responsible-Changed-When: Thu Jan 18 09:53:47 PST 2001 
Responsible-Changed-Why:  
Given to sendmail maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24397 
State-Changed-From-To: open->feedback 
State-Changed-By: gshapiro 
State-Changed-When: Wed Feb 21 21:41:22 PST 2001 
State-Changed-Why:  
I've checked in changes to the HEAD such that accomplishes all of your 
requirements.  Unless I hear otherwise, I'll close this PR in the near 
future. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24397 
State-Changed-From-To: feedback->closed 
State-Changed-By: gshapiro 
State-Changed-When: Thu Feb 22 09:58:59 PST 2001 
State-Changed-Why:  
Submitter accepted my fix. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24397 
>Unformatted:
