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