diff options
author | Chris Wilson <chris@chrisjwilson.com> | 2017-03-08 10:42:13 -0600 |
---|---|---|
committer | Chris Wilson <chris@chrisjwilson.com> | 2017-03-08 10:42:13 -0600 |
commit | 4960bfd18c73db8dfe7bfff0a4cddc443eff53eb (patch) | |
tree | 9ffb6fca931ca810374a31400beb778234cfd69a | |
parent | 059f47b6ba09ae1a6b1dbfc2debf82064d8793fc (diff) | |
download | gitlab-ce-mrchrisw-actually-log-sidekiq.tar.gz |
Actually log sidekiq on start_sidekiqmrchrisw-actually-log-sidekiq
When using the GDK we exeucte sidekiq
https://gitlab.com/gitlab-org/gitlab-development-kit/blob/master/Procfile.example#L11
We should log sidekiq output to sidekiq.log using -L flag
-rwxr-xr-x | bin/background_jobs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/background_jobs b/bin/background_jobs index f28e2f722dc..c41d9f3022e 100755 --- a/bin/background_jobs +++ b/bin/background_jobs @@ -33,7 +33,7 @@ restart() start_no_deamonize() { - start_sidekiq >> $sidekiq_logfile 2>&1 + start_sidekiq -L $sidekiq_logfile >> $sidekiq_logfile 2>&1 } start_sidekiq() |