summaryrefslogtreecommitdiff
path: root/units/systemd-readahead-replay.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-28 03:44:22 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-28 03:44:22 +0200
commit4bb2357f77c875976de5e238a5783e4e136b37b5 (patch)
tree1a2f4f66a6fafbdddf850e612286aa7f4e213af1 /units/systemd-readahead-replay.service.in
parentc0a1b6e92682facf74412ca77daeedcc60cb3115 (diff)
units: add readahead unit files
Diffstat (limited to 'units/systemd-readahead-replay.service.in')
-rw-r--r--units/systemd-readahead-replay.service.in21
1 files changed, 21 insertions, 0 deletions
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