Commit 97f124b31d95ae0adba00b2b906d602f73ae5ffd

Authored by Jacob Vosmaer
1 parent 7991b044

Use built-in sidekiq deamonization

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/sidekiq.rake
@@ -14,7 +14,7 @@ namespace :sidekiq do @@ -14,7 +14,7 @@ namespace :sidekiq do
14 Rake::Task['sidekiq:stop'].invoke 14 Rake::Task['sidekiq:stop'].invoke
15 puts 'Starting new sidekiq process.' 15 puts 'Starting new sidekiq process.'
16 end 16 end
17 - 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 &" 17 + 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"
18 end 18 end
19 19
20 desc "GITLAB | Start sidekiq with launchd on Mac OS X" 20 desc "GITLAB | Start sidekiq with launchd on Mac OS X"