Commit 6683897a4196f6269b38d3145c68ab8849b1483f
Exists in
master
and in
4 other branches
Merge branch 'bash_3_compatibility' of /home/git/repositories/gitlab/gitlabhq
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
script/background_jobs
@@ -8,7 +8,7 @@ gitlab_user=$(ls -l config.ru | awk '{print $3}') | @@ -8,7 +8,7 @@ gitlab_user=$(ls -l config.ru | awk '{print $3}') | ||
8 | 8 | ||
9 | function stop | 9 | function stop |
10 | { | 10 | { |
11 | - bundle exec sidekiqctl stop $sidekiq_pidfile &>> $sidekiq_logfile | 11 | + bundle exec sidekiqctl stop $sidekiq_pidfile >> $sidekiq_logfile 2>&1 |
12 | } | 12 | } |
13 | 13 | ||
14 | function killall | 14 | function killall |
@@ -32,7 +32,7 @@ function start_no_deamonize | @@ -32,7 +32,7 @@ function start_no_deamonize | ||
32 | 32 | ||
33 | function start_sidekiq | 33 | function start_sidekiq |
34 | { | 34 | { |
35 | - bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e $RAILS_ENV -P $sidekiq_pidfile $@ &>> $sidekiq_logfile | 35 | + bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e $RAILS_ENV -P $sidekiq_pidfile $@ >> $sidekiq_logfile 2>&1 |
36 | } | 36 | } |
37 | 37 | ||
38 | case "$1" in | 38 | case "$1" in |