2010-09-28 01:44:22 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-11 22:20:58 +00:00
|
|
|
# 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
|
2010-09-28 01:44:22 +00:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Collect Read-Ahead Data
|
|
|
|
DefaultDependencies=no
|
2010-09-29 00:52:22 +00:00
|
|
|
Wants=systemd-readahead-done.timer
|
2010-09-28 01:44:22 +00:00
|
|
|
Conflicts=shutdown.target
|
2010-11-19 15:24:21 +00:00
|
|
|
Before=sysinit.target shutdown.target
|
2012-04-24 11:12:29 +00:00
|
|
|
ConditionVirtualization=no
|
2010-09-28 01:44:22 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=notify
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-readahead-collect
|
|
|
|
RemainAfterExit=yes
|
2011-09-23 15:42:54 +00:00
|
|
|
StandardOutput=null
|
2012-05-03 22:15:21 +00:00
|
|
|
OOMScoreAdjust=1000
|
2010-09-28 01:44:22 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|