chrony/chrony-service-ordering.patch
Reinhard Max e1a383cdd4 - Fix ordering and dependencies of chronyd.service, so that it is
not being started before the network (bsc#1129730).
- Add chrony-service-ordering.patch

OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=67
2019-03-19 15:55:11 +00:00

16 lines
421 B
Diff

--- examples/chronyd.service.orig
+++ examples/chronyd.service
@@ -1,7 +1,11 @@
[Unit]
Description=NTP client/server
Documentation=man:chronyd(8) man:chrony.conf(5)
-After=ntpdate.service sntp.service ntpd.service
+After=nss-lookup.target
+Wants=network.target
+After=network.target
+Wants=time-sync.target
+Before=time-sync.target
Conflicts=ntpd.service systemd-timesyncd.service
ConditionCapability=CAP_SYS_TIME