Skip to content

Instantly share code, notes, and snippets.

@raws
Created January 4, 2012 03:36
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raws/1558362 to your computer and use it in GitHub Desktop.
Save raws/1558362 to your computer and use it in GitHub Desktop.
Hector Upstart config
description "Hector IRC server"
env LC_CTYPE=en_US.UTF-8
env RBENV_VERSION=1.9.3-p0
env HECTOR_ROOT=/home/ross/hector/blolol.hect
script
/home/ross/.rbenv/bin/rbenv exec hector daemon
end script
start on runlevel [2345]
stop on runlevel [016]
respawn
require "etc"
Process::Sys.setuid(Etc.getpwnam("ross").uid)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment