diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-02-25 15:15:18 +0400 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-03-03 11:40:30 +0400 |
commit | d6b0ac96f7b2952edb8aad0efcd48e0bccd23fe0 (patch) | |
tree | 430c28c845eea9ca53103b7e5098cefd230dadc8 /lib/tasks/sidekiq.rake | |
parent | b30b9c9c464e3b6611c80b6436c8346eb2bbcccf (diff) |
Invoke Kernel#system with separate arguments
Diffstat (limited to 'lib/tasks/sidekiq.rake')
-rw-r--r-- | lib/tasks/sidekiq.rake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tasks/sidekiq.rake b/lib/tasks/sidekiq.rake index e91678473a8..ba806e53ccf 100644 --- a/lib/tasks/sidekiq.rake +++ b/lib/tasks/sidekiq.rake @@ -1,21 +1,21 @@ namespace :sidekiq do desc "GITLAB | Stop sidekiq" task :stop do - system "script/background_jobs stop" + system *%W(script/background_jobs stop) end desc "GITLAB | Start sidekiq" task :start do - system "script/background_jobs start" + system *%W(script/background_jobs start) end desc 'GitLab | Restart sidekiq' task :restart do - system "script/background_jobs restart" + system *%W(script/background_jobs restart) end desc "GITLAB | Start sidekiq with launchd on Mac OS X" task :launchd do - system "script/background_jobs start_no_deamonize" + system *%W(script/background_jobs start_no_deamonize) end end |