X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-readahead-collect.service.in;h=c5e1d5274f84c2d3b760aadb183a1479a2c836b8;hb=c3743399163c2bd615800c118e97bd8dedbb9c98;hp=c3fb2e6447e207b4d87c1061844d181d5e29b6b9;hpb=4bb2357f77c875976de5e238a5783e4e136b37b5;p=elogind.git diff --git a/units/systemd-readahead-collect.service.in b/units/systemd-readahead-collect.service.in index c3fb2e644..c5e1d5274 100644 --- a/units/systemd-readahead-collect.service.in +++ b/units/systemd-readahead-collect.service.in @@ -1,21 +1,23 @@ # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] Description=Collect Read-Ahead Data DefaultDependencies=no +Wants=systemd-readahead-done.timer Conflicts=shutdown.target -Before=shutdown.target +Before=sysinit.target shutdown.target +ConditionVirtualization=no [Service] Type=notify ExecStart=@rootlibexecdir@/systemd-readahead-collect RemainAfterExit=yes +StandardOutput=null [Install] WantedBy=default.target -Also=systemd-readahead-replay.service