Deploy with monit recovery expectation

This commit is contained in:
2014-10-01 11:10:54 +02:00
parent df10920062
commit 056dce5f26
+1
View File
@@ -54,6 +54,7 @@ namespace :deploy do
end end
execute :chown, "-R www-data:www-data", release_path execute :chown, "-R www-data:www-data", release_path
execute :chown, "-R www-data:www-data", release_path.join('public/assets/') execute :chown, "-R www-data:www-data", release_path.join('public/assets/')
run "kill -9 $(lsof -i:9022 -t); true" # kill counters, will reboot itself
execute :touch, release_path.join('tmp/restart.txt') execute :touch, release_path.join('tmp/restart.txt')
end end
end end