chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
readahead: avoid running of readahead services if readahead is already done
[elogind.git]
/
units
/
systemd-readahead-replay.service.in
diff --git
a/units/systemd-readahead-replay.service.in
b/units/systemd-readahead-replay.service.in
index 6a101678c308fe0c38a2f642ff976393e5299131..7324ba36c57553e723c40a19f38364344280aa78 100644
(file)
--- 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
DefaultDependencies=no
Conflicts=shutdown.target
Before=sysinit.target shutdown.target
+ConditionPathExists=!/run/systemd/readahead/noreplay
ConditionPathExists=/.readahead
ConditionVirtualization=no
ConditionPathExists=/.readahead
ConditionVirtualization=no