summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-06 19:18:11 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-06 19:18:17 +0200
commit4466194c43a25bc51b21226f04245131e698bb3f (patch)
tree939feb948ffe98df5b7aeaa7052499124d0ee35d /units
parentcebe0d41e4d5b3fdd9d521116cc029bcb819c90d (diff)
units: rename rtc-set.target to time-sync.target and pull it in by hwclock-load.service
On request of Miroslav Lichvar, rename rtc-set.target to time-sync.target since usually the RTC chip isn't involved at all in NTP syncs. Also, pull it in by hwclock-load.service.
Diffstat (limited to 'units')
-rw-r--r--units/hwclock-load.service3
-rw-r--r--units/time-sync.target (renamed from units/rtc-set.target)2
2 files changed, 3 insertions, 2 deletions
diff --git a/units/hwclock-load.service b/units/hwclock-load.service
index 51f255e2ab..f278a671a3 100644
--- a/units/hwclock-load.service
+++ b/units/hwclock-load.service
@@ -8,9 +8,10 @@
[Unit]
Description=Apply System Clock UTC Offset
DefaultDependencies=no
+Wants=time-sync.target
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
-Before=sysinit.target shutdown.target udev.service
+Before=sysinit.target shutdown.target udev.service time-sync.target
[Service]
Type=oneshot
diff --git a/units/rtc-set.target b/units/time-sync.target
index df4c40298c..aa34ecb5f4 100644
--- a/units/rtc-set.target
+++ b/units/time-sync.target
@@ -11,4 +11,4 @@
# implementations lacking socket/bus activation.
[Unit]
-Description=RTC Set
+Description=System Time Synchronized