]>
Commit | Line | Data |
---|---|---|
4bb2357f LP |
1 | # This file is part of systemd. |
2 | # | |
3 | # systemd is free software; you can redistribute it and/or modify it | |
5430f7f2 LP |
4 | # under the terms of the GNU Lesser General Public License as published by |
5 | # the Free Software Foundation; either version 2.1 of the License, or | |
4bb2357f LP |
6 | # (at your option) any later version. |
7 | ||
8 | [Unit] | |
9 | Description=Collect Read-Ahead Data | |
56a379a9 | 10 | Documentation=man:systemd-readahead-replay.service(8) |
4bb2357f | 11 | DefaultDependencies=no |
c7b50859 | 12 | Wants=systemd-readahead-done.timer |
4bb2357f | 13 | Conflicts=shutdown.target |
e096bf2f | 14 | Before=sysinit.target shutdown.target |
659635ab LP |
15 | ConditionPathExists=!/run/systemd/readahead/cancel |
16 | ConditionPathExists=!/run/systemd/readahead/done | |
3b2d5b02 | 17 | ConditionVirtualization=no |
4bb2357f LP |
18 | |
19 | [Service] | |
20 | Type=notify | |
87ce22cc | 21 | ExecStart=@rootlibexecdir@/systemd-readahead collect |
4bb2357f | 22 | RemainAfterExit=yes |
a966a504 | 23 | StandardOutput=null |
4019a16d | 24 | OOMScoreAdjust=1000 |
4bb2357f LP |
25 | |
26 | [Install] | |
27 | WantedBy=default.target | |
18975735 | 28 | Also=systemd-readahead-drop.service |