• W-Mark Kubacki's avatar
    Service file for systemd starts after all networks have gotten IP addresses · f1c1ea99
    W-Mark Kubacki authored
    Unlike network.target the network-online.target guarantees that the network
    devices are online.
    
    If you bind to 0.0.0.0, [::], [::1], and/or 127.0.0.1 only that is enough to
    proceed. But in case a particular IP is needed, like ${COREOS_PUBLIC_IPV4},
    we require any IP assignments to have completed before Caddy's start. That
    is achieved by depending on systemd-networkd-wait-online.service (which is
    scheduled before network-online.target, then, automatically).
    f1c1ea99
caddy@.service 663 Bytes