X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-readahead-collect.service.in;h=55b6776649e7ebe995bcb83a0b5e47fa1ea71493;hb=63cb20a28b3f5e858a306daf7e0657ccbb0ab163;hp=7fe20d5c5c945c80a73c2e1a6f1b5a053391d55d;hpb=18975735984b1245bb4003ec287df002f7c4cf7f;p=elogind.git diff --git a/units/systemd-readahead-collect.service.in b/units/systemd-readahead-collect.service.in index 7fe20d5c5..55b677664 100644 --- a/units/systemd-readahead-collect.service.in +++ b/units/systemd-readahead-collect.service.in @@ -11,6 +11,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]