Files
namn cb11e7fb93 update net/dnscrypt-proxy 2.1.13
Remove rc_reload=NO to allow sending -HUP to load extra config files
(e.g., ${LOCALSTATEDIR}/dnscrypt-proxy/blocked-names.txt). This is an
alternative to the new feature enable_hot_reload, which can be set to
false. Note that the main config file ${SYSCONFDIR}/dnscrypt-proxy.toml
cannot be reloaded.

changelog:
https://github.com/DNSCrypt/dnscrypt-proxy/releases/tag/2.1.13

From Igor Zornik <mocheryl at mocheryl dot org> with README tweaks from me
2025-09-03 07:57:36 +00:00

17 lines
262 B
Bash

#!/bin/ksh
daemon="${TRUEPREFIX}/bin/dnscrypt-proxy"
daemon_flags="-config ${SYSCONFDIR}/dnscrypt-proxy.toml"
. /etc/rc.d/rc.subr
pexp="${daemon}${daemon_flags:+ ${daemon_flags}}.*"
rc_bg=YES
rc_configtest() {
${daemon} ${daemon_flags} -check
}
rc_cmd $1