Skip to content

Instantly share code, notes, and snippets.

@laozhu
Last active March 18, 2016 05:41
Show Gist options
  • Save laozhu/730c825c5826c66fbe88 to your computer and use it in GitHub Desktop.
Save laozhu/730c825c5826c66fbe88 to your computer and use it in GitHub Desktop.
dnscrypt startup script
description "dnscrypt startup script"
start on (local-filesystems and started dbus and stopped udevtrigger)
stop on runlevel [016]
script
exec /usr/local/sbin/dnscrypt-proxy --resolver-name=opendns --local-address=127.0.0.2 --user=dnscrypt --logfile=/var/log/dnscrypt.log --pidfile=/var/run/dnscrypt.pid
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment