Skip to content

Instantly share code, notes, and snippets.

View rdev5's full-sized avatar
💭
Note: This account has been moved to @mattborja

Matt Borja rdev5

💭
Note: This account has been moved to @mattborja
View GitHub Profile
@rdev5
rdev5 / sidekiq.confg
Created May 6, 2013 23:00
Simple upstart script for sidekiq (used with Gitlab on CentOS 6)
start on runlevel [2345]
stop on runlevel [!2345]
respawn limit 3 30
script
exec su - git -c 'cd /home/git/gitlab && export RAILS_ENV=production && bundle exec rake sidekiq:start >> /home/git/gitlab/debug.log'
end script