Skip to content

Commit

Permalink
dns/dnscrypt-proxy: _var_script only if enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Mar 4, 2020
1 parent 58c43a9 commit 3e02ddc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% if helpers.exists('OPNsense.dnscryptproxy.general.enabled') and OPNsense.dnscryptproxy.general.enabled == '1' %}
dnscrypt_proxy_var_script="/usr/local/opnsense/scripts/OPNsense/Dnscryptproxy/setup.sh"
dnscrypt_proxy_enable="YES"
{% if helpers.exists('OPNsense.dnscryptproxy.general.allowprivileged') and OPNsense.dnscryptproxy.general.allowprivileged == '1' %}
dnscrypt_proxy_suexec="YES"
Expand All @@ -11,4 +12,3 @@ dnscrypt_proxy_dnsbl="{{ OPNsense.dnscryptproxy.dnsbl.type }}"
{% else %}
dnscrypt_proxy_enable="NO"
{% endif %}
dnscrypt_proxy_var_script="/usr/local/opnsense/scripts/OPNsense/Dnscryptproxy/setup.sh"

0 comments on commit 3e02ddc

Please sign in to comment.