chiark / gitweb /
readahead: shortcut replay if /.readahead doesn't exist
[elogind.git] / 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