diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-10-09 17:48:28 +0400 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-10-09 17:51:39 +0400 |
commit | 97f124b31d95ae0adba00b2b906d602f73ae5ffd (patch) | |
tree | d278069b8cd8139197cdee706b47e3127403e4e2 /lib/tasks/sidekiq.rake | |
parent | 7991b0449920b0c90bd7c529bbb2e5b1699a87ef (diff) |
Use built-in sidekiq deamonization
Diffstat (limited to 'lib/tasks/sidekiq.rake')
-rw-r--r-- | lib/tasks/sidekiq.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/sidekiq.rake b/lib/tasks/sidekiq.rake index 46caffd0754..ba79b6e035d 100644 --- a/lib/tasks/sidekiq.rake +++ b/lib/tasks/sidekiq.rake @@ -14,7 +14,7 @@ namespace :sidekiq do Rake::Task['sidekiq:stop'].invoke puts 'Starting new sidekiq process.' end - system "nohup bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e #{Rails.env} -P #{pidfile} >> #{log_file} 2>&1 &" + system "bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e #{Rails.env} -P #{pidfile} -d -L #{log_file} >> #{log_file} 2>&1" end desc "GITLAB | Start sidekiq with launchd on Mac OS X" |