Skip to content

Instantly share code, notes, and snippets.

@allaire
Created November 4, 2013 22:30
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 allaire/7310357 to your computer and use it in GitHub Desktop.
Save allaire/7310357 to your computer and use it in GitHub Desktop.
start on runlevel [2345]
stop on runlevel [06]
setuid deployer
setgid sysadmin
respawn
respawn limit 3 30
script
PATH=/home/deployer/.rbenv/shims:/home/deployer/.rbenv/bin:$PATH
cd <%= current_path %>
exec bin/sidekiq -e production -L log/sidekiq.log -P tmp/pids/sidekiq.pid
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment