chiark / gitweb /
readahead: avoid running of readahead services if readahead is already done
[elogind.git] / units / systemd-readahead-replay.service.in
index 6a10167..7324ba3 100644 (file)
@@ -10,6 +10,7 @@ Description=Replay Read-Ahead Data
 DefaultDependencies=no
 Conflicts=shutdown.target
 Before=sysinit.target shutdown.target
+ConditionPathExists=!/run/systemd/readahead/noreplay
 ConditionPathExists=/.readahead
 ConditionVirtualization=no