summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Blut <vincent.debian@free.fr>2019-08-06 20:33:25 +0200
committerVincent Blut <vincent.debian@free.fr>2019-08-06 20:33:25 +0200
commit6ce4cd146564333369c00ae23c67ca77a8c01418 (patch)
tree064ef9f4058350c368256c71e88d558bef97efaa
parent07ffed8407aa37cd7d231c723757fc0834908270 (diff)
d/chrony.service: Pull in time-sync.target and order chrony before it
-rw-r--r--debian/chrony.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/chrony.service b/debian/chrony.service
index 3e4451a..8110433 100644
--- a/debian/chrony.service
+++ b/debian/chrony.service
@@ -2,6 +2,8 @@
Description=chrony, an NTP client/server
Documentation=man:chronyd(8) man:chronyc(1) man:chrony.conf(5)
Conflicts=systemd-timesyncd.service openntpd.service ntp.service ntpsec.service
+Wants=time-sync.target
+Before=time-sync.target
After=network.target
ConditionCapability=CAP_SYS_TIME