Lines 11-16
Link Here
|
11 |
# |
11 |
# |
12 |
# dnscrypt_proxy_enable (bool): Set to NO by default. |
12 |
# dnscrypt_proxy_enable (bool): Set to NO by default. |
13 |
# Set to YES to enable dnscrypt-proxy. |
13 |
# Set to YES to enable dnscrypt-proxy. |
|
|
14 |
# dnscrypt_proxy_conf (str): Unset by default. Will override all other |
15 |
# settings and only use the config file. |
14 |
# dnscrypt_proxy_uid (str): Set to "_dnscrypt-proxy" by default. |
16 |
# dnscrypt_proxy_uid (str): Set to "_dnscrypt-proxy" by default. |
15 |
# User to switch to after starting. |
17 |
# User to switch to after starting. |
16 |
# dnscrypt_proxy_resolver (str):Set to "cisco" by default. |
18 |
# dnscrypt_proxy_resolver (str):Set to "cisco" by default. |
Lines 39-45
Link Here
|
39 |
: ${dnscrypt_proxy_logfile=/var/log/dnscrypt-proxy.log} # Path to log file |
41 |
: ${dnscrypt_proxy_logfile=/var/log/dnscrypt-proxy.log} # Path to log file |
40 |
|
42 |
|
41 |
command=%%PREFIX%%/sbin/dnscrypt-proxy |
43 |
command=%%PREFIX%%/sbin/dnscrypt-proxy |
|
|
44 |
if [ ${dnscrypt_proxy_conf} ]; then |
45 |
command_args="${dnscrypt_proxy_conf}" |
46 |
else |
42 |
command_args="-d -p ${dnscrypt_proxy_pidfile} -l ${dnscrypt_proxy_logfile} -u ${dnscrypt_proxy_uid} -R ${dnscrypt_proxy_resolver}" |
47 |
command_args="-d -p ${dnscrypt_proxy_pidfile} -l ${dnscrypt_proxy_logfile} -u ${dnscrypt_proxy_uid} -R ${dnscrypt_proxy_resolver}" |
|
|
48 |
fi |
43 |
procname=%%PREFIX%%/sbin/dnscrypt-proxy |
49 |
procname=%%PREFIX%%/sbin/dnscrypt-proxy |
44 |
pidfile=${dnscrypt_proxy_pidfile} |
50 |
pidfile=${dnscrypt_proxy_pidfile} |
45 |
|
51 |
|