Closed chrismytton closed 9 years ago
If you fix https://github.com/mysociety/Non-Site-Specific/issues/351 then you could use mysociety update
rather than mysociety deploy
and there'd be no stop/start :)
@dracos Thanks, will investigate that at some point. For now the very brief bit of downtime isn't a massive problem :)
Closing this PR, it wasn't actually necessary in the end because deploying a vhost does and apache graceful
, so passenger gets restarted as part of that.
This uses passenger's tmp/restart.txt mechanism to restart popit at the end of the deploy. There is still a very brief bit of downtime because of this bit of code in
deploy-vhost
, but it's kept to an absolute minimum.Fixes #659