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"