X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-readahead-collect.service.in;h=d4b8e67932d47e413ecfa7354293ef285f082192;hp=7fe20d5c5c945c80a73c2e1a6f1b5a053391d55d;hb=b7e6c03d3bb4e571ad3391862e3f5e4d6bb0cfbb;hpb=18975735984b1245bb4003ec287df002f7c4cf7f diff --git a/units/systemd-readahead-collect.service.in b/units/systemd-readahead-collect.service.in index 7fe20d5c5..d4b8e6793 100644 --- a/units/systemd-readahead-collect.service.in +++ b/units/systemd-readahead-collect.service.in @@ -7,15 +7,18 @@ [Unit] Description=Collect Read-Ahead Data +Documentation=man:systemd-readahead-replay.service(8) DefaultDependencies=no Wants=systemd-readahead-done.timer Conflicts=shutdown.target Before=sysinit.target shutdown.target +ConditionPathExists=!/run/systemd/readahead/cancel +ConditionPathExists=!/run/systemd/readahead/done ConditionVirtualization=no [Service] Type=notify -ExecStart=@rootlibexecdir@/systemd-readahead-collect +ExecStart=@rootlibexecdir@/systemd-readahead collect RemainAfterExit=yes StandardOutput=null OOMScoreAdjust=1000