Home > Q&A > body text
sudo service nginx start /etc/init.d/nginx: 2: /etc/init.d/nginx: Syntax error: newline unexpected
How to deal with it?
巴扎黑2017-05-16 17:27:05
Have you modified the file /etc/init.d/nginx?
ringa_lee2017-05-16 17:27:05
Post the /etc/init.d/nginx file content. There are grammatical errors.
/etc/init.d/nginx