chiark / gitweb /
Remove FsckPassNo from systemd-fsck-root.service
[elogind.git] / units / systemd-readahead-replay.service.in
index ad27395d9ab1eabfeee6a1167da2992692395220..c64a533e4ec6423ae1e4738a4b68636b9fa05914 100644 (file)
@@ -7,16 +7,20 @@
 
 [Unit]
 Description=Replay Read-Ahead Data
+Documentation=man:systemd-readahead-replay.service(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
 Before=sysinit.target shutdown.target
+ConditionPathExists=!/run/systemd/readahead/noreplay
 ConditionPathExists=/.readahead
+ConditionVirtualization=no
 
 [Service]
 Type=notify
-ExecStart=@rootlibexecdir@/systemd-readahead-replay
+ExecStart=@rootlibexecdir@/systemd-readahead replay
 RemainAfterExit=yes
 StandardOutput=null
+OOMScoreAdjust=1000
 
 [Install]
 WantedBy=default.target