Permalink
Browse files

Add upstart script for Nestor Ninja.

  • Loading branch information...
cliffano committed Apr 6, 2013
1 parent e93f0ff commit 9fe312a025742a5487a1ef1e8f993fef603aa145
Showing with 15 additions and 0 deletions.
  1. +15 −0 conf/ninja_upstart.conf
View
@@ -0,0 +1,15 @@
+description "Upstart script to run Nestor Ninja as a service"
+version "0.0.1"
+author "Cliffano Subagio <blah@cliffano.com>"
+
+env LOG=/var/log/nestor_ninja.log
+
+start on runlevel [2345]
+stop on runlevel [016]
+
+respawn
+
+script
+ touch $LOG
+ JENKINS_URL=<url> NINJABLOCKS_TOKEN=<token_from_https://a.ninja.is/hacking> /usr/bin/nestor ninja >> $LOG 2>&1
+end script

0 comments on commit 9fe312a

Please sign in to comment.