try the new deploy
This commit is contained in:
+2
-1
@@ -71,7 +71,8 @@ namespace :deploy do
|
|||||||
#execute :chown, "-R www-data:www-data", release_path.join('public/assets/')
|
#execute :chown, "-R www-data:www-data", release_path.join('public/assets/')
|
||||||
#execute :kill, capture("lsof -i:9022 -t") # kill counters, will reboot itself
|
#execute :kill, capture("lsof -i:9022 -t") # kill counters, will reboot itself
|
||||||
execute :touch, release_path.join('tmp/restart.txt')
|
execute :touch, release_path.join('tmp/restart.txt')
|
||||||
execute :monit, :restart, 'puma_mozo.bar_production'
|
#execute :monit, :restart, 'puma_mozo.bar_production'
|
||||||
|
execute 'systemctl restart mozo.bar'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user