On Thu, May 12, 2016 at 05:19:35PM +0800, johnw wrote: > On 05/12/2016 03:18 PM, Stuart Henderson wrote: > > pgrep -lf dnscrypt > 65727 /usr/local/sbin/dnscrypt-proxy -d --user=_dnscrypt-proxy -R > dnscrypt.eu-nl --local-address=[::1]:53 > --resolver-address=176.56.237.171:443 > --provider-key=67C0:0F2C:21C5:5481:45DD:7CB4:6A27:1AF2:EB96:9931:40A3:09B6:2B8D:1653:1185:9C66 > > > rcctl get dnscrypt_proxy > dnscrypt_proxy_class=dnscrypt_proxy > dnscrypt_proxy_flags=-R dnscrypt.eu-nl --local-address=[::1]:53 > --resolver-address=176.56.237.171:443 > --provider-key=67C0:0F2C:21C5:5481:45DD:7CB4:6A27:1AF2:EB96:9931:40A3:09B6:2B8D:1653:1185:9C66 > dnscrypt_proxy_rtable=0 > dnscrypt_proxy_timeout=30 > dnscrypt_proxy_user=root > > > cat /var/run/rc.d/dnscrypt_proxy (if it exists) > Not exists > > Thank you. >
Try to run it directly as rc.d does: su -l -c daemon -s /bin/sh root -c "dnscrypt_proxy -R dnscrypt.eu-nl --local-address=[::1]:53" Don't you miss '--user=_dnscrypt-proxy' and '-d' (daemonize) in flags? j.