Skip to content
Browse files

An upstart script for Linux

Tested with CentOS 6
  • Loading branch information...
1 parent fb1c323 commit 0d1c8d8f47f1fe798c8738d58218041cb91120b2 @isaacs isaacs committed May 28, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 node-remote-tester-drone.conf
View
12 node-remote-tester-drone.conf
@@ -0,0 +1,12 @@
+description "The worker bee of the node remote tester hive"
+author "isaacs"
+
+respawn
+respawn limit 15 5
+
+start on runlevel [2345]
+stop on runlevel [06]
+
+script
+su node -c "/usr/local/bin/nave use 0.6.18 node /home/node/node-remote-tester-drone/server.js >> /home/node/drone.log 2>&1"
+end script

0 comments on commit 0d1c8d8

Please sign in to comment.
Something went wrong with that request. Please try again.