mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
dns/dnscrypt-proxy: migrate to NAME_setup use
PR: https://github.com/opnsense/core/issues/5917
This commit is contained in:
parent
f41e60318e
commit
d373e6aada
3 changed files with 5 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
|||
PLUGIN_NAME= dnscrypt-proxy
|
||||
PLUGIN_VERSION= 1.12
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_COMMENT= Flexible DNS proxy supporting DNSCrypt and DoH
|
||||
PLUGIN_DEPENDS= dnscrypt-proxy2
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[start]
|
||||
command:/usr/local/opnsense/scripts/OPNsense/Dnscryptproxy/setup.sh;/usr/local/etc/rc.d/dnscrypt-proxy start
|
||||
command:/usr/local/etc/rc.d/dnscrypt-proxy start
|
||||
parameters:
|
||||
type:script
|
||||
message:starting dnscrypt-proxy
|
||||
|
|
@ -11,7 +11,7 @@ type:script
|
|||
message:stopping dnscrypt-proxy
|
||||
|
||||
[restart]
|
||||
command:/usr/local/opnsense/scripts/OPNsense/Dnscryptproxy/setup.sh;/usr/local/etc/rc.d/dnscrypt-proxy restart
|
||||
command:/usr/local/etc/rc.d/dnscrypt-proxy restart
|
||||
parameters:
|
||||
type:script
|
||||
message:restarting dnscrypt-proxy
|
||||
|
|
@ -29,7 +29,7 @@ type:script
|
|||
message:fetching DNSBLs
|
||||
|
||||
[dnsblcron]
|
||||
command:/usr/local/opnsense/scripts/OPNsense/Dnscryptproxy/dnsbl.sh;/usr/local/etc/rc.d/dnscrypt-proxy restart
|
||||
command:/usr/local/opnsense/scripts/OPNsense/Dnscryptproxy/dnsbl.sh; /usr/local/etc/rc.d/dnscrypt-proxy restart
|
||||
parameters:
|
||||
type:script
|
||||
message:fetching DNSBLs and restart
|
||||
|
|
|
|||
|
|
@ -1,5 +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_setup="/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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue