From 18975735984b1245bb4003ec287df002f7c4cf7f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 23 May 2012 03:50:15 +0200 Subject: readahead: when doing a system update drop readahead file --- units/systemd-readahead-drop.service | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 units/systemd-readahead-drop.service (limited to 'units/systemd-readahead-drop.service') diff --git a/units/systemd-readahead-drop.service b/units/systemd-readahead-drop.service new file mode 100644 index 0000000000..a9d97d72ab --- /dev/null +++ b/units/systemd-readahead-drop.service @@ -0,0 +1,18 @@ +# 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=Drop Read-Ahead Data +ConditionPathExists=/.readahead + +[Service] +Type=oneshot +ExecStart=/bin/rm -f /.readahead + +[Install] +WantedBy=system-update.target +Also=systemd-readahead-collect.service -- cgit v1.2.3-54-g00ecf From 744881d173e7e2d29a51c86edb8255857089cfd2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 27 Jun 2012 01:07:04 +0200 Subject: man: add Documentation= tags to all kinds of missing units --- units/console-shell.service.m4.in | 1 + units/emergency.service.in | 1 + units/proc-sys-fs-binfmt_misc.automount | 1 + units/quotaon.service | 1 + units/rescue.service.m4.in | 1 + units/sys-fs-fuse-connections.mount | 1 + units/sys-kernel-config.mount | 1 + units/sys-kernel-debug.mount | 1 + units/systemd-debug-shell.service.in | 1 + units/systemd-readahead-drop.service | 1 + 10 files changed, 10 insertions(+) (limited to 'units/systemd-readahead-drop.service') diff --git a/units/console-shell.service.m4.in b/units/console-shell.service.m4.in index 4f795e16ac..400f84d463 100644 --- a/units/console-shell.service.m4.in +++ b/units/console-shell.service.m4.in @@ -7,6 +7,7 @@ [Unit] Description=Console Shell +Documentation=man:sulogin(8) After=systemd-user-sessions.service plymouth-quit-wait.service m4_ifdef(`TARGET_FEDORA', After=rc-local.service diff --git a/units/emergency.service.in b/units/emergency.service.in index 87864f1c53..36db707280 100644 --- a/units/emergency.service.in +++ b/units/emergency.service.in @@ -7,6 +7,7 @@ [Unit] Description=Emergency Shell +Documentation=man:sulogin(8) DefaultDependencies=no Conflicts=shutdown.target Before=shutdown.target diff --git a/units/proc-sys-fs-binfmt_misc.automount b/units/proc-sys-fs-binfmt_misc.automount index 658b55dc32..7fd5afe3cd 100644 --- a/units/proc-sys-fs-binfmt_misc.automount +++ b/units/proc-sys-fs-binfmt_misc.automount @@ -7,6 +7,7 @@ [Unit] Description=Arbitrary Executable File Formats File System Automount Point +Documentation=https://www.kernel.org/doc/Documentation/binfmt_misc.txt DefaultDependencies=no Before=sysinit.target ConditionPathExists=/proc/sys/fs/binfmt_misc/ diff --git a/units/quotaon.service b/units/quotaon.service index b8df87e35b..caaf12d9f7 100644 --- a/units/quotaon.service +++ b/units/quotaon.service @@ -7,6 +7,7 @@ [Unit] Description=Enable File System Quotas +Documentation=man:quotaon(8) DefaultDependencies=no After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-quotacheck.service Before=local-fs.target shutdown.target diff --git a/units/rescue.service.m4.in b/units/rescue.service.m4.in index 5fb82e614d..9d09062b1a 100644 --- a/units/rescue.service.m4.in +++ b/units/rescue.service.m4.in @@ -7,6 +7,7 @@ [Unit] Description=Rescue Shell +Documentation=man:sulogin(8) DefaultDependencies=no Conflicts=shutdown.target After=sysinit.target plymouth-start.service diff --git a/units/sys-fs-fuse-connections.mount b/units/sys-fs-fuse-connections.mount index 6f3670155a..9269ea4272 100644 --- a/units/sys-fs-fuse-connections.mount +++ b/units/sys-fs-fuse-connections.mount @@ -7,6 +7,7 @@ [Unit] Description=FUSE Control File System +Documentation=https://www.kernel.org/doc/Documentation/filesystems/fuse.txt DefaultDependencies=no ConditionPathExists=/sys/fs/fuse/connections After=systemd-modules-load.service diff --git a/units/sys-kernel-config.mount b/units/sys-kernel-config.mount index 9150da4b50..e7cd4909c1 100644 --- a/units/sys-kernel-config.mount +++ b/units/sys-kernel-config.mount @@ -7,6 +7,7 @@ [Unit] Description=Configuration File System +Documentation=https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt DefaultDependencies=no ConditionPathExists=/sys/kernel/config After=systemd-modules-load.service diff --git a/units/sys-kernel-debug.mount b/units/sys-kernel-debug.mount index 85d53072f1..8b1e33e7f7 100644 --- a/units/sys-kernel-debug.mount +++ b/units/sys-kernel-debug.mount @@ -7,6 +7,7 @@ [Unit] Description=Debug File System +Documentation=https://www.kernel.org/doc/Documentation/filesystems/debugfs.txt DefaultDependencies=no ConditionPathExists=/sys/kernel/debug Before=sysinit.target diff --git a/units/systemd-debug-shell.service.in b/units/systemd-debug-shell.service.in index 70c01c21f6..8ca25a3628 100644 --- a/units/systemd-debug-shell.service.in +++ b/units/systemd-debug-shell.service.in @@ -1,5 +1,6 @@ [Unit] Description=Early root shell on tty9 FOR DEBUGGING ONLY +Documentation=man:sushell(8) DefaultDependencies=no IgnoreOnIsolate=yes diff --git a/units/systemd-readahead-drop.service b/units/systemd-readahead-drop.service index a9d97d72ab..d9d12bc533 100644 --- a/units/systemd-readahead-drop.service +++ b/units/systemd-readahead-drop.service @@ -7,6 +7,7 @@ [Unit] Description=Drop Read-Ahead Data +Documentation=man:systemd-readahead-replay.service(8) ConditionPathExists=/.readahead [Service] -- cgit v1.2.3-54-g00ecf