X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-readahead-replay.service.in;h=c64a533e4ec6423ae1e4738a4b68636b9fa05914;hp=6a101678c308fe0c38a2f642ff976393e5299131;hb=37495eede95d3212b797c8459d7ed6258fb23c6a;hpb=4019a16d5b65633e5f6d671c16d3215d7f7f29fc diff --git a/units/systemd-readahead-replay.service.in b/units/systemd-readahead-replay.service.in index 6a101678c..c64a533e4 100644 --- a/units/systemd-readahead-replay.service.in +++ b/units/systemd-readahead-replay.service.in @@ -7,15 +7,17 @@ [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