Skip to content

Instantly share code, notes, and snippets.

@kometchtech
Last active November 1, 2016 21:24
Show Gist options
  • Save kometchtech/29efe9aef131255ca36c to your computer and use it in GitHub Desktop.
Save kometchtech/29efe9aef131255ca36c to your computer and use it in GitHub Desktop.
unbound systemd for debian jessie
[Unit]
Description=Unbound is a validating, recursive, and caching DNS resolver.
After=network.target networking.service
[Service]
Type=simple
ExecStartPre=/usr/local/sbin/unbound-anchor -a /var/unbound/root.key
ExecStartPre=/usr/local/sbin/unbound-checkconf
ExecStart=/usr/local/sbin/unbound -d
LimitNOFILE=102400
LimitNPROC=65535
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment