vanutsteen.nl => nerds only A blog on rails, php, computing, my bass guitar and stuff

Gitlab reque & supervisord

on in Linux, Python, Ruby

Gitlab needs at least one resque daemon. I always forget to start it when I boot the (virtual) pc where gitlab resides. So I installed supervisord an set up this conf file:

/etc/supervisor/conf.d/resque.conf
1
2
3
4
5
6
7
8
9
10
[program:resque]
command=bundle exec rake environment resque:work
# Do not use BACKGROUND=No, it only checks if BACKGROUND is set
environment=QUEUE="post_receive,mailer,system_hook",RAILS_ENV="production"
process_name=resque
numprocs=1
directory=/home/gitlab.tim-online.nl/public_html
autostart=true
autorestart=true
user=gitlab.tim-online.nl

Comments