summaryrefslogtreecommitdiff
path: root/units/systemd-readahead-replay.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-23 03:51:25 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-23 03:51:25 +0200
commit08231e5142bff7ace79957835656672ac100031b (patch)
treed5fc6885d402acc6c3c74b8c8546382a6ea4e8af /units/systemd-readahead-replay.service.in
parente905f48fdc78fe3e4708aeb8515fc260eaf4eb6b (diff)
readahead: avoid running of readahead services if readahead is already done
Diffstat (limited to 'units/systemd-readahead-replay.service.in')
-rw-r--r--units/systemd-readahead-replay.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-readahead-replay.service.in b/units/systemd-readahead-replay.service.in
index 6a101678c3..7324ba36c5 100644
--- a/units/systemd-readahead-replay.service.in
+++ b/units/systemd-readahead-replay.service.in
@@ -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