FreeBSD Bugzilla – Attachment 140967 Details for
Bug 187678
[PATCH] ftp/proftpd: Allow config path to be set from rc.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 713 bytes, created by
Daniel Ylitalo
on 2014-03-17 22:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Daniel Ylitalo
Created:
2014-03-17 22:40:00 UTC
Size:
713 bytes
patch
obsolete
>--- proftpd.in.orig 2014-03-17 22:41:14.000000000 +0100 >+++ proftpd.in 2014-03-17 23:28:42.000000000 +0100 >@@ -22,9 +22,13 @@ > name=proftpd > rcvar=proftpd_enable > >+proftpd_enable=${proftpd_enable:="NO"} >+proftpd_config=${proftpd_config:="%%PREFIX%%/etc/proftpd.conf"} >+ > command=%%PREFIX%%/sbin/proftpd >-pidfile=$(grep PidFile /usr/local/etc/proftpd.conf | awk '{print($2)}') >-required_files=%%PREFIX%%/etc/proftpd.conf >+command_args="-c ${proftpd_config}" >+pidfile=$(grep PidFile ${proftpd_config} | awk '{print($2)}') >+required_files=${proftpd_config} > > stop_postcmd=stop_postcmd > >@@ -35,8 +39,6 @@ > > # set defaults > >-proftpd_enable=${proftpd_enable:-"NO"} >- > extra_commands="reload" > > load_rc_config $name
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 187678
: 140967