]> err.no Git - systemd/commitdiff
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 026d3b0efb9fd08c4b3dc0c5067f4702b183e103..8ed3b75efefe6e9c13d8f986780fb71f80a68c2f 100644 (file)
@@ -10,6 +10,7 @@ Description=Replay Read-Ahead Data
 DefaultDependencies=no
 Conflicts=shutdown.target
 Before=basic.target shutdown.target
+ConditionPathExists=/.readahead
 
 [Service]
 Type=notify