nginx troubles

I have installed nginx via a stacks script. I ran the

/etc/init.d/nginx start to start the daemon but it doesn't tell

me whether nginx is started or not. Can anyone help me with this?

any way to tell whether or not nginx is running?

1 Reply

ps -C nginx

If this command returns at least 1 row saying "nginx", nginx is running. If not, it's not running.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct