diff --git a/upstart/godns.conf b/upstart/godns.conf new file mode 100644 index 0000000..8cf8d86 --- /dev/null +++ b/upstart/godns.conf @@ -0,0 +1,13 @@ +description "GoDNS daemon" + +start on (local-filesystems and net-device-up IFACE!=lo) + +kill signal TERM +kill timeout 60 + +setuid your-username +setgid your-username + +respawn + +exec /path/to/your/godns-repo/godns -c /path/to/your/godns-repo/config.json