add explicit unicorn stop/start on deploy
This commit is contained in:
3
Capfile
3
Capfile
@@ -13,4 +13,5 @@ require 'capistrano3/unicorn'
|
|||||||
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
|
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
|
||||||
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }
|
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }
|
||||||
|
|
||||||
after "deploy:published", "unicorn:reload"
|
after "deploy:published", "unicorn:stop"
|
||||||
|
after "deploy:published", "unicorn:start"
|
||||||
|
|||||||
Reference in New Issue
Block a user