fix: revert reload and start commands

This commit is contained in:
Jose Diaz-Gonzalez
2018-03-07 23:43:40 -05:00
committed by GitHub
parent b417508c98
commit 212ef01f7a

4
debian/preinst vendored
View File

@@ -30,11 +30,11 @@ case "$1" in
case "$DOKKU_DISTRO" in
debian)
NGINX_INIT="/usr/sbin/invoke-rc.d"
"$NGINX_INIT" nginx start || "$NGINX_INIT" nginx reload
"$NGINX_INIT" nginx reload || "$NGINX_INIT" nginx start
;;
ubuntu)
NGINX_INIT="/etc/init.d/nginx"
"$NGINX_INIT" start || "$NGINX_INIT" reload
"$NGINX_INIT" reload || "$NGINX_INIT" start
;;
esac
exit 0