Lines 25-33
pdns_recursor_enable=${pdns_recursor_enable:-"NO"}
Link Here
|
25 |
pdns_recursor_conf=${pdns_recursor_conf:-"%%PREFIX%%/etc/pdns/recursor.conf"} |
25 |
pdns_recursor_conf=${pdns_recursor_conf:-"%%PREFIX%%/etc/pdns/recursor.conf"} |
26 |
required_files=${pdns_recursor_conf} |
26 |
required_files=${pdns_recursor_conf} |
27 |
|
27 |
|
28 |
pidfile=/var/run/pdns-recursor/${name}.pid |
28 |
pidfile="/var/run/${name}.pid" |
29 |
|
29 |
actual_command="%%PREFIX%%/sbin/${name}" |
30 |
command=%%PREFIX%%/sbin/${name} |
30 |
command="/usr/sbin/daemon" |
31 |
command_args="--daemon" |
31 |
command_args="-c -f -r -P ${pidfile} ${actual_command} --daemon=no --write-pid=no" |
32 |
|
32 |
|
33 |
run_rc_command "$1" |
33 |
run_rc_command "$1" |