Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

it helps to actually run commands

  • Loading branch information...
commit eac5731034c377cf06bfde431dc572046bda1ebf 1 parent f51627e
@qrush qrush authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/deploy/bluepill.rb
View
8 lib/deploy/bluepill.rb
@@ -3,18 +3,18 @@
desc "Stop processes that bluepill is monitoring and quit bluepill"
task :quit, :roles => [:app] do
- "bluepill stop #{bluepill_options}; true"
- "bluepill quit #{bluepill_options}; true"
+ run "bluepill stop #{bluepill_options}; true"
+ run "bluepill quit #{bluepill_options}; true"
end
desc "Load bluepill configuration and start it"
task :start, :roles => [:app] do
- "bluepill load #{release_path}/config/pills/#{rails_env}.rb #{bluepill_options}"
+ run "bluepill load #{release_path}/config/pills/#{rails_env}.rb #{bluepill_options}"
end
desc "Prints bluepills monitored processes statuses"
task :status, :roles => [:app] do
- "bluepill status #{bluepill_options}"
+ run "bluepill status #{bluepill_options}"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.