diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-09-28 03:44:22 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-09-28 03:44:22 +0200 |
commit | 4bb2357f77c875976de5e238a5783e4e136b37b5 (patch) | |
tree | 1a2f4f66a6fafbdddf850e612286aa7f4e213af1 /units/systemd-readahead-collect.service.in | |
parent | units: enable mount units by default and hook binary units into base.target i... (diff) | |
download | systemd-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.in | 21 |
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 |