View | Details | Raw Unified | Return to bug 187678
Collapse All | Expand All

(-)proftpd.in 2014-03-17 23:28:42.000000000 +0100 (-4 / +6 lines)
Lines 22-30 Link Here
22
name=proftpd
22
name=proftpd
23
rcvar=proftpd_enable
23
rcvar=proftpd_enable
24
proftpd_enable=${proftpd_enable:="NO"}
25
proftpd_config=${proftpd_config:="%%PREFIX%%/etc/proftpd.conf"}
26
24
command=%%PREFIX%%/sbin/proftpd
27
command=%%PREFIX%%/sbin/proftpd
25
pidfile=$(grep PidFile /usr/local/etc/proftpd.conf | awk '{print($2)}')
28
command_args="-c ${proftpd_config}"
26
required_files=%%PREFIX%%/etc/proftpd.conf
29
pidfile=$(grep PidFile ${proftpd_config} | awk '{print($2)}')
30
required_files=${proftpd_config}
27
stop_postcmd=stop_postcmd
31
stop_postcmd=stop_postcmd
Lines 35-42 Link Here
35
# set defaults
39
# set defaults
36
proftpd_enable=${proftpd_enable:-"NO"}
37
38
extra_commands="reload"
40
extra_commands="reload"
39
load_rc_config $name
41
load_rc_config $name

Return to bug 187678