Bug 163786 - Enable reload command for mail/mailscanner rc script
Summary: Enable reload command for mail/mailscanner rc script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Chris Rees
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-02 17:40 UTC by Carl Lindberg
Modified: 2012-01-02 20:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Lindberg 2012-01-02 17:40:09 UTC
Mailscanner supports reloading its config files with a SIGHUP sent to its process.  This is the default behavior for "reload" in rc_subr I believe, but the command is not enabled in the mailscanner startup file. Just adding

extra_commands=reload

to the startup script enables it, for me.  At least, it is required on the ancient version of FreeBSD I'm running, but the current rc_subr(8) man page indicates that is still necessary.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-01-02 19:41:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->crees

Fix synopsis and assign.
Comment 2 dfilter service freebsd_committer 2012-01-02 20:38:46 UTC
crees       2012-01-02 20:38:33 UTC

  FreeBSD ports repository

  Modified files:
    mail/mailscanner     Makefile 
    mail/mailscanner/files mailscanner.in 
  Log:
  Add reload function to rc script
  
  PR:             ports/163786
  Submitted by:   Carl Lindberg <lindberg+freebsdbugs@clindberg.org>
  
  Revision  Changes    Path
  1.97      +1 -0      ports/mail/mailscanner/Makefile
  1.5       +1 -0      ports/mail/mailscanner/files/mailscanner.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Chris Rees freebsd_committer 2012-01-02 20:38:47 UTC
State Changed
From-To: open->closed

Committed. Thanks!