From 08231e5142bff7ace79957835656672ac100031b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 23 May 2012 03:51:25 +0200 Subject: readahead: avoid running of readahead services if readahead is already done --- units/systemd-readahead-replay.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units/systemd-readahead-replay.service.in') 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 -- cgit v1.2.3-54-g00ecf