Hi.
On Sun, 05 Nov 2017 08:52:33 -0500 Sam Varshavchik wrote:
Why is it so difficult to make sure that a service gets started after
all IP
addresses are set up by the system, for services that have this requirement?
Using a dependency (Wants and After) to network-online.target is the
proper way to do that. Your privoxy.service is thus correct.
You must then verify that network-online.target is properly
configured,
There is (mostly) two ways to start the network:
- with NetworManager
- with systemd-networkd
Both of them start asynchronously (are seen started by systemd
*before* the network interfaces are configured).
To achieve synchronisation you must enable:
- NetworkManager-wait-online.service if you use NetworManager
- or systemd-networkd-wait-online.service if you use systemd-networkd
Those wait-online service are WantedBy network-online.target
Can you verify those 4 services on your machine?
For example with:
systemctl -n 0 status NetworkManager{,-wait-online} systemd-networkd{,-wait-online}
-- Francis