Created
January 25, 2011 16:48
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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