[ntp/f15/master] pull in time-sync.target from ntpdate.service

Miroslav Lichvar mlichvar at fedoraproject.org
Wed Apr 6 18:13:25 UTC 2011


commit 99fc52b42b523f466b541215c1825f9b0e67f405
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Apr 6 20:00:13 2011 +0200

    pull in time-sync.target from ntpdate.service

 ntpdate.service |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/ntpdate.service b/ntpdate.service
index d31eacd..8ccb3da 100644
--- a/ntpdate.service
+++ b/ntpdate.service
@@ -1,6 +1,8 @@
 [Unit]
 Description=Set time via NTP
 After=syslog.target network.target
+Before=time-sync.target
+Wants=time-sync.target
 
 [Service]
 Type=oneshot


More information about the scm-commits mailing list