chiark / gitweb /
local-fs: invoke emergency.service mounting at boot fails
[elogind.git] / units / systemd-readahead-replay.service.in
index f6ca475..5cc6def 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