chiark / gitweb /
readahead: shortcut replay if /.readahead doesn't exist
authorLennart Poettering <lennart@poettering.net>
Sat, 30 Oct 2010 22:53:12 +0000 (00:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 30 Oct 2010 22:53:12 +0000 (00:53 +0200)
units/systemd-readahead-replay.service.in

index 026d3b0..8ed3b75 100644 (file)
@@ -10,6 +10,7 @@ Description=Replay Read-Ahead Data
 DefaultDependencies=no
 Conflicts=shutdown.target
 Before=basic.target shutdown.target
 DefaultDependencies=no
 Conflicts=shutdown.target
 Before=basic.target shutdown.target
+ConditionPathExists=/.readahead
 
 [Service]
 Type=notify
 
 [Service]
 Type=notify