X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-readahead-collect.service.in;h=55b6776649e7ebe995bcb83a0b5e47fa1ea71493;hb=ea5943d3862cc690daa76e2ad336737407ec711c;hp=887339c3f315155896ff9e2b8438d4a437293c01;hpb=4019a16d5b65633e5f6d671c16d3215d7f7f29fc;p=elogind.git diff --git a/units/systemd-readahead-collect.service.in b/units/systemd-readahead-collect.service.in index 887339c3f..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] @@ -22,3 +24,4 @@ OOMScoreAdjust=1000 [Install] WantedBy=default.target +Also=systemd-readahead-drop.service