summaryrefslogtreecommitdiffstats
path: root/units/systemd-readahead-collect.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-collect.service.in
parentunits: enable mount units by default and hook binary units into base.target i... (diff)
downloadsystemd-4bb2357f77c875976de5e238a5783e4e136b37b5.tar.xz
systemd-4bb2357f77c875976de5e238a5783e4e136b37b5.zip
units: add readahead unit files
Diffstat (limited to 'units/systemd-readahead-collect.service.in')
-rw-r--r--units/systemd-readahead-collect.service.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/units/systemd-readahead-collect.service.in b/units/systemd-readahead-collect.service.in
new file mode 100644
index 0000000000..c3fb2e6447
--- /dev/null
+++ b/units/systemd-readahead-collect.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=Collect Read-Ahead Data
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target
+
+[Service]
+Type=notify
+ExecStart=@rootlibexecdir@/systemd-readahead-collect
+RemainAfterExit=yes
+
+[Install]
+WantedBy=default.target
+Also=systemd-readahead-replay.service