Skip to content

Instantly share code, notes, and snippets.

@lgreenlee
Last active February 18, 2016 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgreenlee/35192f57b4a6ed238e61 to your computer and use it in GitHub Desktop.
Save lgreenlee/35192f57b4a6ed238e61 to your computer and use it in GitHub Desktop.
DNSCache systemd configuration for Ubuntu
[Unit]
Description=A DNS cache daemon
Documentation=man:dnscache(8)
Requires=network.target
After=network.target
[Service]
Restart=always
PIDFile=/var/run/dnscache.pid
ExecStart=/etc/dnscache/run
WorkingDirectory=/etc/dnscache
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment