ports/85675: [PATCH] ports/ftp/proftpd: Add reload command to rc.d/proftpd.sh script

Patrick Gibson patrick at retrix.com
Sat Sep 3 00:40:08 UTC 2005


>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 at 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 at N:6XN;W)I9PE7960 at 2G5N(#(R(#$Q.C0X.C,Y(#(P
M,#4**RLK('!R;V9T<&0N<V at 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:



More information about the freebsd-ports-bugs mailing list