Bug 24397

Summary: /etc/mail/Makefile tweak to restart sendmail
Product: Base System Reporter: Erick Mechler <emechler>
Component: binAssignee: Gregory Neil Shapiro <gshapiro>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description Erick Mechler 2001-01-17 02:50:02 UTC
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.

Fix: 

clean:
        rm -f access.db virtusertable.db mailertable.db
+
+ restart:
+       kill -HUP `head -1 /var/run/sendmail.pid`--yTDxXtDywWphiwcHGcTruOmERlHALpLc4JhyqsdwMNG8rx9y
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

*** Makefile.orig       Tue Jan 16 18:05:40 2001
--- Makefile    Tue Jan 16 17:02:52 2001
***************
*** 29,31 ****
--- 29,34 ----
Comment 1 Gregory Neil Shapiro freebsd_committer freebsd_triage 2001-01-18 17:53:47 UTC
Responsible Changed
From-To: freebsd-bugs->gshapiro

Given to sendmail maintainer
Comment 2 Gregory Neil Shapiro freebsd_committer freebsd_triage 2001-02-22 05:41:22 UTC
State Changed
From-To: open->feedback

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.
Comment 3 Gregory Neil Shapiro freebsd_committer freebsd_triage 2001-02-22 17:58:59 UTC
State Changed
From-To: feedback->closed

Submitter accepted my fix.