Merge pull request #1251 from progrium/nginx-restarts

Fallback to using /etc/init.d/nginx reload directly to restart nginx
This commit is contained in:
Jose Diaz-Gonzalez
2015-06-25 11:15:39 -04:00

2
debian/preinst vendored
View File

@@ -29,7 +29,7 @@ case "$1" in
} >> $NGINX_CONF } >> $NGINX_CONF
rm -f /etc/nginx/sites-enabled/* rm -f /etc/nginx/sites-enabled/*
service nginx reload service nginx reload || /etc/init.d/nginx reload
exit 0 exit 0
fi fi