Permalink
Browse files

added the upstart script ns1 and ns2 are using

  • Loading branch information...
progrium committed Jul 11, 2010
1 parent ee9ad90 commit 50b705ba0fcbaac6d8c36663fef629063b6cfc02
Showing with 15 additions and 0 deletions.
  1. +15 −0 contrib/event.d/webdns-gateway
@@ -0,0 +1,15 @@
+description "webdns-gateway"
+author "Jeff Lindsay <progrium@gmail.com>"
+
+start on runlevel 2
+start on runlevel 3
+
+stop on runlevel 0
+stop on runlevel 1
+stop on runlevel 4
+stop on runlevel 5
+stop on runlevel 6
+
+chdir /webdns/git
+exec /usr/local/bin/twistd --pidfile=../pid/webdns-gateway.pid --logfile=../log/webdns-gateway.log -ny gateway
+respawn

0 comments on commit 50b705b

Please sign in to comment.