Switch to apache init restart as passenger's tmp/restart.txt seem not to be reliable :-/

This commit is contained in:
Henne Vogelsang 2014-08-12 18:43:46 +02:00
parent 63d2980fe3
commit 6e2efa502b

View file

@ -37,7 +37,7 @@ task deploy: :environment do
invoke :notify_errbit invoke :notify_errbit
to :launch do to :launch do
queue "touch #{deploy_to}/tmp/restart.txt" queue "sudo /etc/init.d/apache2 restart"
end end
invoke :'deploy:cleanup' invoke :'deploy:cleanup'