Skip to content

Instantly share code, notes, and snippets.

@jhsu
Created July 21, 2010 17:27
Show Gist options
  • Save jhsu/484804 to your computer and use it in GitHub Desktop.
Save jhsu/484804 to your computer and use it in GitHub Desktop.
# 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