From 4bb2357f77c875976de5e238a5783e4e136b37b5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 28 Sep 2010 03:44:22 +0200 Subject: units: add readahead unit files --- units/systemd-readahead-replay.service.in | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 units/systemd-readahead-replay.service.in (limited to 'units/systemd-readahead-replay.service.in') diff --git a/units/systemd-readahead-replay.service.in b/units/systemd-readahead-replay.service.in new file mode 100644 index 0000000000..f6ca475ae7 --- /dev/null +++ b/units/systemd-readahead-replay.service.in @@ -0,0 +1,21 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +[Unit] +Description=Replay Read-Ahead Data +DefaultDependencies=no +Conflicts=shutdown.target +Before=shutdown.target + +[Service] +Type=notify +ExecStart=@rootlibexecdir@/systemd-readahead-replay +RemainAfterExit=yes + +[Install] +WantedBy=default.target +Also=systemd-readahead-collect.service -- cgit v1.2.3-54-g00ecf