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=8ed3b75efefe6e9c13d8f986780fb71f80a68c2f;hp=f6ca475ae74b8713460d5c9758c4de7d60118f71;hb=3370f947d6ec13bb4e21b6fa3ac8de0cd20d8466;hpb=4bb2357f77c875976de5e238a5783e4e136b37b5 diff --git a/units/systemd-readahead-replay.service.in b/units/systemd-readahead-replay.service.in index f6ca475ae..8ed3b75ef 100644 --- a/units/systemd-readahead-replay.service.in +++ b/units/systemd-readahead-replay.service.in @@ -9,7 +9,8 @@ Description=Replay Read-Ahead Data DefaultDependencies=no Conflicts=shutdown.target -Before=shutdown.target +Before=basic.target shutdown.target +ConditionPathExists=/.readahead [Service] Type=notify @@ -18,4 +19,3 @@ RemainAfterExit=yes [Install] WantedBy=default.target -Also=systemd-readahead-collect.service