Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/webistrano/template/unicorn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down