chiark / gitweb /
systemctl: fix "reboot" call
[elogind.git] / units / systemd-readahead-collect.service.in
1 #  This file is part of systemd.
2 #
3 #  systemd is free software; you can redistribute it and/or modify it
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
6 #  (at your option) any later version.
7
8 [Unit]
9 Description=Collect Read-Ahead Data
10 Documentation=man:systemd-readahead-replay.service(8)
11 DefaultDependencies=no
12 Wants=systemd-readahead-done.timer
13 Conflicts=shutdown.target
14 Before=sysinit.target shutdown.target
15 ConditionPathExists=!/run/systemd/readahead/cancel
16 ConditionPathExists=!/run/systemd/readahead/done
17 ConditionVirtualization=no
18
19 [Service]
20 Type=notify
21 ExecStart=@rootlibexecdir@/systemd-readahead collect
22 RemainAfterExit=yes
23 StandardOutput=null
24 OOMScoreAdjust=1000
25
26 [Install]
27 WantedBy=default.target
28 Also=systemd-readahead-drop.service