chiark / gitweb /
fstab-generator: avoid mangling of mount source string
[elogind.git] / units / systemd-readahead-replay.service.in
index 7387ebac085df8a89d96390456f96f77eecda072..7324ba36c57553e723c40a19f38364344280aa78 100644 (file)
@@ -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
 
@@ -18,6 +19,7 @@ Type=notify
 ExecStart=@rootlibexecdir@/systemd-readahead-replay
 RemainAfterExit=yes
 StandardOutput=null
+OOMScoreAdjust=1000
 
 [Install]
 WantedBy=default.target