capistrano: simplify unicorn:terminate task.

Use the builtin task provided by capistrano3-unicorn. Ours failed with
invalid pidfile errors in some cases.
This commit is contained in:
evazion
2019-08-15 12:51:51 -05:00
parent 06b564cf76
commit 39d70ae5cf
2 changed files with 1 additions and 26 deletions

View File

@@ -9,7 +9,7 @@ namespace :app do
# do nothing
else
invoke "web:disable"
invoke "unicorn:terminate"
invoke "unicorn:stop"
end
end