Fallback to using /etc/init.d/nginx reload directly to restart nginx. Closes #1165. Refs #1247

This commit is contained in:
Jose Diaz-Gonzalez committed 2015-06-25 10:38:47 -04:00
1 parent 15bd9db79c
commit 626cd958a5
1 file changed
+1 -1
+1 -1
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