nginx cannot start

I am having an issue where nginx does not start on boot. When I check the logs, it's because an IP address is not configured, even though by the time I log in, that address is indeed available. I infer this to mean that the Linode network helper fails to enforce correct ordering. nginx is correctly configured to wait for the systemd network.target, but seemingly, the network is not configured until after network.target.

How can I enforce the ordering? Should I completely remove the network helper config?

1 Reply

looks like the target was renamed to network-online.target at some point. correcting the nginx systemd file fixed this problem.

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