Skip to content

Instantly share code, notes, and snippets.

@creationix
Created February 9, 2011 06:35
Show Gist options
  • Save creationix/818043 to your computer and use it in GitHub Desktop.
Save creationix/818043 to your computer and use it in GitHub Desktop.
my upstart config for creationix.com
description "start and stop the static stuff server"
version "1.0"
author "Tim Caswell"
# configuration variables.
env PATH=/home/tim/.nvm/HEAD/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
respawn
start on runlevel [23]
script
cd /home/tim
exec node server.js > access.log 2>> error.log
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment