Yes according to [1] the most direct translation to the old LSB $network would be: Wants=network-online.target After=network-online.target
And that is what chrony was and IMHO should be again. That also would fix some rare cases where network comes up late and chrony starts in offline mode. Relying on the hooks to online it isn't recommended btw (Only working for NetworkManager in 18.04 atm). [1]: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ ** Changed in: chrony (Ubuntu) Status: New => Triaged ** Changed in: chrony (Ubuntu) Assignee: (unassigned) => ChristianEhrhardt (paelzer) ** Changed in: chrony (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1746458 Title: should it rather be network online target in the service file? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1746458/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
