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