Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  2 Sep 2005 17:36:08 -0700 (PDT)
From:      Patrick Gibson <patrick@retrix.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mharo@FreeBSD.org
Subject:   ports/85675: [PATCH] ports/ftp/proftpd: Add reload command to rc.d/proftpd.sh script
Message-ID:  <20050903003608.A6E0AFE6F@strongmad.retrix.com>
Resent-Message-ID: <200509030040.j830e3s2008952@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         85675
>Category:       ports
>Synopsis:       [PATCH] ports/ftp/proftpd: Add reload command to rc.d/proftpd.sh script
>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:   Sat Sep 03 00:40:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Gibson
>Release:        FreeBSD 4.11-RELEASE-p2 i386
>Organization:
Retrix Hosting, Inc.
>Environment:
System: FreeBSD strongmad.retrix.com 4.11-RELEASE-p2 FreeBSD 4.11-RELEASE-p2 #12: Wed Apr 6 11:43:41 PDT 2005 root@strongmad.retrix.com:/usr/obj/usr/src/sys/STRONGMAD i386


	
>Description:
	ProFTPd supports a -SIGHUP to reload configuration files, so the rc.d script should also support this. From the proftpd(8) man page:

       When proftpd is run in standalone mode and it receives a SIGHUP then it
       will  reread its configuration file.  When run in standalone mode with-
       out the -n option, the main proftpd daemon writes  its  process  ID  to
       /var/run/run/proftpd.pid  to  make  it  easy  to  know which process to
       SIGHUP.

>How-To-Repeat:
	N/A
>Fix:

	Add extra_commands="reload" to the proftpd.sh script:

begin 664 proftpd.sh.in.patch
M+2TM('!R;V9T<&0N<V@N:6XN;W)I9PE7960@2G5N(#(R(#$Q.C0X.C,Y(#(P
M,#4**RLK('!R;V9T<&0N<V@N:6X)1G)I(%-E<"`@,B`Q-SHQ,#HU,"`R,#`U
M"D!`("TS-RPU("LS-RPW($!`"B!P<F]F='!D7V5N86)L93TD>W!R;V9T<&1?
M96YA8FQE.BTB3D\B?0H@<')O9G1P9%]F;&%G<STD>W!R;V9T<&1?9FQA9W,Z
M+2(B?0H@"BME>'1R85]C;VUM86YD<STB<F5L;V%D(@HK"B!L;V%D7W)C7V-O
@;F9I9R`D;F%M90H@<G5N7W)C7V-O;6UA;F0@(B0Q(@H`
`
end


>Release-Note:
>Audit-Trail:
>Unformatted:



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