From 01f925cabfb265010781c7829e8f1175626d7477 Mon Sep 17 00:00:00 2001 From: Andrew Rosa Date: Thu, 24 Jan 2013 11:53:04 -0200 Subject: [PATCH] Foreman's stop task should stop Fix a copy & paste issue with the stop task. Apparently nobody ever stop deployed apps with mina :o) --- lib/mina/foreman.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/mina/foreman.rb b/lib/mina/foreman.rb index 51ce2235..e82baf8f 100644 --- a/lib/mina/foreman.rb +++ b/lib/mina/foreman.rb @@ -63,8 +63,8 @@ desc "Stop the application services" task :stop do queue %{ - echo "-----> Starting #{foreman_app} services" - #{echo_cmd %[sudo "start #{foreman_app}"]} + echo "-----> Stopping #{foreman_app} services" + #{echo_cmd %[sudo "stop #{foreman_app}"]} } end @@ -75,4 +75,4 @@ #{echo_cmd %[sudo start #{foreman_app} || sudo restart #{foreman_app}]} } end -end \ No newline at end of file +end