summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-15 11:39:17 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-15 11:39:17 +0200
commitc9d93bc83931fee36e26c7616553bc3c333c419a (patch)
treef93e7ab8fe3552e50672d05ebdf2da582960d61f /lib
parent3f2b1d7fb1748ae8de3120b5800acd6faacc3a6d (diff)
downloadgitlab-ci-c9d93bc83931fee36e26c7616553bc3c333c419a.tar.gz
fix rake task
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/sidekiq.rake4
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