X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-readahead-replay.service.in;h=c64a533e4ec6423ae1e4738a4b68636b9fa05914;hp=7387ebac085df8a89d96390456f96f77eecda072;hb=4952a9beff339b75641a7a84c226c11d6bd680c4;hpb=3b2d5b02ae231f1d3eb0d96eb980155d7797304e diff --git a/units/systemd-readahead-replay.service.in b/units/systemd-readahead-replay.service.in index 7387ebac0..c64a533e4 100644 --- a/units/systemd-readahead-replay.service.in +++ b/units/systemd-readahead-replay.service.in @@ -7,17 +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