tizen 2.4 release
[external/systemd.git] / units / systemd-readahead-collect.service.m4.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 m4_ifdef(`DEFAULT_PROCESS_LABEL',
26 SmackProcessLabel=systemd
27 )m4_dnl
28
29 [Install]
30 WantedBy=default.target
31 Also=systemd-readahead-drop.service