summaryrefslogtreecommitdiff
path: root/units/systemd-readahead-replay.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-31 00:53:12 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-31 00:53:12 +0200
commit3370f947d6ec13bb4e21b6fa3ac8de0cd20d8466 (patch)
treeb29ac9e5a7245103c2916857903adda33c7cca94 /units/systemd-readahead-replay.service.in
parent739aad5169731424ca49271903afa4148f0129f2 (diff)
readahead: shortcut replay if /.readahead doesn't exist
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 026d3b0efb..8ed3b75efe 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=basic.target shutdown.target
+ConditionPathExists=/.readahead
[Service]
Type=notify