sudo service nginx start /etc/init.d/nginx: 2: /etc/init.d/nginx: Syntax error: newline unexpected
How to deal with it?
Have you modified the file /etc/init.d/nginx?
Post the /etc/init.d/nginx file content. There are grammatical errors.
/etc/init.d/nginx
Have you modified the file /etc/init.d/nginx?
Post the
/etc/init.d/nginx
file content. There are grammatical errors.