fix: revert reload and start commands
This commit is contained in:
committed by
GitHub
parent
b417508c98
commit
212ef01f7a
4
debian/preinst
vendored
4
debian/preinst
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user