Date: Thu, 14 Oct 2010 16:47:41 GMT From: Alexander Milanov <a@amilanov.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/151457: Reload command for port mail/dovecot Message-ID: <201010141647.o9EGlfe3092244@www.freebsd.org> Resent-Message-ID: <201010141650.o9EGoAWM083820@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 151457 >Category: ports >Synopsis: Reload command for port mail/dovecot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 14 16:50:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alexander Milanov >Release: >Organization: >Environment: >Description: Dovecot's rc.d script from ports doesn't have a reload command, although it supports configuration reloading on SIGHUP (http://wiki1.dovecot.org/RunningDovecot#Reloading_Configuration). >How-To-Repeat: >Fix: Patch attached with submission follows: Index: files/dovecot.sh.in =================================================================== RCS file: /home/ncvs/ports/mail/dovecot/files/dovecot.sh.in,v retrieving revision 1.13 diff -u -r1.13 dovecot.sh.in --- files/dovecot.sh.in 27 Mar 2010 00:13:14 -0000 1.13 +++ files/dovecot.sh.in 27 Jul 2010 21:02:16 -0000 @@ -26,6 +26,7 @@ start_precmd="start_precmd" stop_postcmd="stop_postcmd" restart_cmd="restart_cmd" +extra_commands="reload" start_precmd() { # Ensure runtime directories exist with correct permissions >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010141647.o9EGlfe3092244>