Skip to content

Instantly share code, notes, and snippets.

@emmanuel
Created June 26, 2014 16:53
Show Gist options
  • Save emmanuel/61194175840c54dcba48 to your computer and use it in GitHub Desktop.
Save emmanuel/61194175840c54dcba48 to your computer and use it in GitHub Desktop.
[Unit]
Description=skydns
Requires=etcd.service
After=etcd.service
[Service]
User=skydns
Group=skydns
Type=simple
ExecStart=/tmp/skydns -verbose=true
Restart=always
RestartSec=5
WorkingDirectory=/tmp
PrivateTmp=true
NoNewPrivileges=true
ReadOnlyDirectories=/etc
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment