Workaround of race condition between systemd and nginx.

Jim Popovitch jimpop at gmail.com
Wed Dec 30 14:51:58 UTC 2015


On Dec 30, 2015 8:46 AM, "Gena Makhomed" <gmm at csdoc.com> wrote:
>
> # HG changeset patch
> # User Gena Makhomed <gmm at csdoc.com>
> # Date 1451482795 18000
> #      Wed Dec 30 08:39:55 2015 -0500
> # Node ID a340d271b3ffa51c0396a5afc5270cb02b701204
> # Parent  1073d7e4e430ddb53b603d151e1a403d10aa420b
> Workaround of race condition between systemd and nginx.
>
> Just replace network.target with network-online.target in systemd unit
files.
> More details:
http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/

>From that page, wrt network-online.target:

"It is strongly recommended not to pull in this target too liberally: for
example network server software should generally not pull this in (since
server software generally is happy to accept local connections even before
any routable network interface is up), it's primary purpose is network
client software that cannot operate without network"

-Jim P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20151230/9b8a9987/attachment.html>


More information about the nginx-devel mailing list