Permalink
Browse files

Adds upstart script

  • Loading branch information...
1 parent 87a9167 commit 512444966fc314fe635ad8f60fce548c73e300ef @c4milo c4milo committed May 1, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 scripts/comcast-chipkit.conf
View
15 scripts/comcast-chipkit.conf
@@ -0,0 +1,15 @@
+# Ubuntu upstart file at /etc/init/comcast-chipkit.conf
+
+pre-start script
+ mkdir -p /var/log/buglabs/comcast-chipkit
+end script
+
+respawn
+respawn limit 15 5
+
+start on runlevel [2345]
+stop on runlevel [06]
+
+script
+NODE_ENV=%%ENVIRONMENT%% exec %%RELEASE%%/server.js 2>&1 >> /var/log/buglabs/comcast-chipkit/comcast.buglabs.net.log
+end script

0 comments on commit 5124449

Please sign in to comment.