systemd/units/systemd-readahead-done.service.in
Lennart Poettering b3de50cb07 units: don't run readahead done timers in containers
We don't run the collector in the container either, hence we don't need
to stop it either.
2013-12-11 23:31:34 +01:00

23 lines
635 B
SYSTEMD

# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# 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
# (at your option) any later version.
[Unit]
Description=Stop Read-Ahead Data Collection
Documentation=man:systemd-readahead-replay.service(8)
DefaultDependencies=no
Conflicts=shutdown.target
After=default.target
Before=shutdown.target
ConditionVirtualization=no
[Service]
Type=oneshot
ExecStart=@SYSTEMD_NOTIFY@ --readahead=done
[Install]
Also=systemd-readahead-collect.service