Skip to content

Instantly share code, notes, and snippets.

@kixxauth
Created January 25, 2011 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kixxauth/795191 to your computer and use it in GitHub Desktop.
Save kixxauth/795191 to your computer and use it in GitHub Desktop.
Use upstart and spark2 to start a hello world http server on node.js
description "kristo.us node.js server"
author "Kris Walker"
start on startup
stop on shutdown
script
cd /home/kixx/development/kristo.us/
exec sudo /home/kixx/local/bin/spark2 2>&1 >> /home/kixx/development/kristo.us/test.log
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment