summaryrefslogtreecommitdiff
path: root/units/hwclock-load.service
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/hwclock-load.service
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/hwclock-load.service')
-rw-r--r--units/hwclock-load.service3
1 files changed, 2 insertions, 1 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