Created
July 21, 2010 17:27
-
-
Save jhsu/484804 to your computer and use it in GitHub Desktop.
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
# kirk | |
# | |
# starts an irc locally to campfire | |
description "kirk irc campfire server" | |
author "noonat and jshsu" | |
start on startup | |
stop on shutdown | |
script | |
chdir /home/jshsu/apps/kirk | |
export HOME="/root" | |
exec sudo -u jshsu sh -c "/usr/local/bin/node /home/jshsu/apps/kirk/kirk.js >> /var/log/kirk.log 2>&1" | |
end script | |
respawn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment