From c3ba1fe30724bbc4ebc29ba8152dfab5a2b293e6 Mon Sep 17 00:00:00 2001 From: "Sangil.Jeong" Date: Thu, 23 May 2013 13:00:55 +0900 Subject: [PATCH] stop, start commend dosent needed --- lib/webistrano/template/unicorn.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/webistrano/template/unicorn.rb b/lib/webistrano/template/unicorn.rb index 1c105eb86..4e72def9f 100644 --- a/lib/webistrano/template/unicorn.rb +++ b/lib/webistrano/template/unicorn.rb @@ -39,13 +39,13 @@ def unicorn_restart_cmd desc "Start Unicorn directly" task :start, :roles => :app, :except => { :no_release => true } do as = fetch(:runner, "app") - invoke_command "#{unicorn_start_cmd} start", :via => run_method, :as => as + invoke_command "#{unicorn_start_cmd}", :via => run_method, :as => as end desc "Stop Unicorn directly" task :stop, :roles => :app, :except => { :no_release => true } do as = fetch(:runner, "app") - invoke_command "#{unicorn_stop_cmd} stop", :via => run_method, :as => as + invoke_command "#{unicorn_stop_cmd}", :via => run_method, :as => as end desc "Restart Unicorn app directly"