chiark / gitweb /
logind: introduce libsystemd-login.so as fast path to access logind data
[elogind.git] / units / systemd-readahead-replay.service.in
index f6ca475ae74b8713460d5c9758c4de7d60118f71..5cc6defd9bf2a1718feb41e3d3364b62addf73dc 100644 (file)
@@ -9,7 +9,8 @@
 Description=Replay Read-Ahead Data
 DefaultDependencies=no
 Conflicts=shutdown.target
-Before=shutdown.target
+Before=sysinit.target shutdown.target
+ConditionPathExists=/.readahead
 
 [Service]
 Type=notify
@@ -18,4 +19,3 @@ RemainAfterExit=yes
 
 [Install]
 WantedBy=default.target
-Also=systemd-readahead-collect.service