diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-15 11:39:17 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-15 11:39:17 +0200 |
commit | c9d93bc83931fee36e26c7616553bc3c333c419a (patch) | |
tree | f93e7ab8fe3552e50672d05ebdf2da582960d61f /lib | |
parent | 3f2b1d7fb1748ae8de3120b5800acd6faacc3a6d (diff) | |
download | gitlab-ci-c9d93bc83931fee36e26c7616553bc3c333c419a.tar.gz |
fix rake task
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/sidekiq.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/sidekiq.rake b/lib/tasks/sidekiq.rake index 4825ef6..8fe4e0f 100644 --- a/lib/tasks/sidekiq.rake +++ b/lib/tasks/sidekiq.rake @@ -1,12 +1,12 @@ namespace :sidekiq do desc "GITLAB | Stop sidekiq" task :stop do - run "bundle exec sidekiqctl stop #{pidfile}" + system "bundle exec sidekiqctl stop #{pidfile}" end desc "GITLAB | Start sidekiq" task :start do - run "nohup bundle exec sidekiq -q runner,common,default -e #{Rails.env} -P #{pidfile} >> #{Rails.root.join("log", "sidekiq.log")} 2>&1 &" + system "nohup bundle exec sidekiq -q runner,common,default -e #{Rails.env} -P #{pidfile} >> #{Rails.root.join("log", "sidekiq.log")} 2>&1 &" end def pidfile |