Skip to content

Instantly share code, notes, and snippets.

@manlycode
Created April 21, 2014 04:03
Show Gist options
  • Save manlycode/11131893 to your computer and use it in GitHub Desktop.
Save manlycode/11131893 to your computer and use it in GitHub Desktop.
#!upstart
description "pickaxe game server"
author "Chris Rittersdorf"
env NOTIFY_URL="http://pickaxe-staging.herokuapp.com"
env PORT=3000
env HOME="/root/game-server"
start on started net-device-up
stop on stopping
respawn
exec node $HOME/app.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment