Skip to content

Commit

Permalink
fix(disable): tasks, use the nginx_application_name variable
Browse files Browse the repository at this point in the history
  • Loading branch information
blackjid committed Dec 16, 2015
1 parent b350cb6 commit c249985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/nginx.rake
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ namespace :nginx do
on release_roles fetch(:nginx_roles) do
if test "[ -f #{fetch(:enabled_application)} ]"
within fetch(:sites_enabled) do
arguments = :rm, '-f', fetch(:application)
arguments = :rm, '-f', fetch(:nginx_application_name)
add_sudo_if_required arguments, 'nginx:sites:disable', :nginx_sites_enabled_dir
execute *arguments
end
Expand Down

0 comments on commit c249985

Please sign in to comment.