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