2010-09-28 08:44:22 +07:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 05:20:58 +07: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 08:44:22 +07:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Replay Read-Ahead Data
|
2012-06-26 23:16:00 +07:00
|
|
|
Documentation=man:systemd-readahead-replay.service(8)
|
2010-09-28 08:44:22 +07:00
|
|
|
DefaultDependencies=no
|
|
|
|
Conflicts=shutdown.target
|
2010-11-19 22:24:21 +07:00
|
|
|
Before=sysinit.target shutdown.target
|
2012-05-23 08:51:25 +07:00
|
|
|
ConditionPathExists=!/run/systemd/readahead/noreplay
|
2010-10-31 05:53:12 +07:00
|
|
|
ConditionPathExists=/.readahead
|
2012-04-24 18:12:29 +07:00
|
|
|
ConditionVirtualization=no
|
2010-09-28 08:44:22 +07:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=notify
|
2012-06-22 04:53:20 +07:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-readahead replay
|
2010-09-28 08:44:22 +07:00
|
|
|
RemainAfterExit=yes
|
2011-09-23 22:42:54 +07:00
|
|
|
StandardOutput=null
|
2012-05-04 05:15:21 +07:00
|
|
|
OOMScoreAdjust=1000
|
2010-09-28 08:44:22 +07:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|