Reload the nginx configuration

Otherwise we run the risk of proxying a request to a bad backend
This commit is contained in:
Jose Diaz-Gonzalez
2016-01-02 03:37:44 -05:00
parent a2f0962b76
commit 933a5c0abf

2
debian/postrm vendored
View File

@@ -15,6 +15,8 @@ main() {
rm -f /etc/systemd/system/dokku-redeploy.service
rm -f /etc/update-motd.d/99-dokku
service nginx reload
if [[ "$1" == "purge" ]]; then
rm -f ${DOKKU_ROOT}/.dokkurc ${DOKKU_ROOT}/dokkurc ${DOKKU_ROOT}/tls
rm -f ${DOKKU_ROOT}/.ssh/authorized_keys ${DOKKU_ROOT}/.sshcommand