diff options
| author | vale981 <vale81@gmx.de> | 2015-04-18 13:40:10 +0200 |
|---|---|---|
| committer | vale981 <vale81@gmx.de> | 2015-04-18 14:15:31 +0200 |
| commit | ea7368da4d00be79ac6b58df8c0ff1d3b2501581 (patch) | |
| tree | 313ebfd0362970c4e4ee4eaac9c3d4537384bfa9 /script | |
| parent | f73c162835c11a357baf59430fddceb02e22259b (diff) | |
| download | gitlab-ci-ea7368da4d00be79ac6b58df8c0ff1d3b2501581.tar.gz | |
add sidekiq confic
changelog
Diffstat (limited to 'script')
| -rwxr-xr-x | script/background_jobs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/background_jobs b/script/background_jobs index 4c88809..49d0b49 100755 --- a/script/background_jobs +++ b/script/background_jobs @@ -4,6 +4,7 @@ cd $(dirname $0)/.. app_root=$(pwd) sidekiq_pidfile="$app_root/tmp/pids/sidekiq.pid" sidekiq_logfile="$app_root/log/sidekiq.log" +sidekiq_config="$app_root/config/sidekiq.yml" gitlab_ci_user=$(ls -l config.ru | awk '{print $3}') function stop @@ -27,7 +28,7 @@ function restart function start_sidekiq { - bundle exec sidekiq -q runner,common,default -e $RAILS_ENV -P $sidekiq_pidfile -d -L $sidekiq_logfile >> $sidekiq_logfile 2>&1 + bundle exec sidekiq -q runner,common,default -e $RAILS_ENV -P $sidekiq_pidfile -d -L $sidekiq_logfile -C $sidekiq_config >> $sidekiq_logfile 2>&1 } case "$1" in |
