From 9161eb8c326442cd2d9a79c14ce8dd09733ed023 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Fri, 28 Sep 2018 14:15:22 -0400 Subject: [PATCH] boot: Add Documentation= lines to services It's a neat way to point folks to the documentation (of course, better would be to have man pages for each of those services). Also consistently use Title Case everywhere. Closes: #1750 Approved by: cgwalters --- src/boot/ostree-finalize-staged.service | 1 + src/boot/ostree-prepare-root.service | 1 + src/boot/ostree-remount.service | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/boot/ostree-finalize-staged.service b/src/boot/ostree-finalize-staged.service index bc24a612..2ae64918 100644 --- a/src/boot/ostree-finalize-staged.service +++ b/src/boot/ostree-finalize-staged.service @@ -19,6 +19,7 @@ # https://lists.freedesktop.org/archives/systemd-devel/2018-March/040557.html [Unit] Description=OSTree Finalize Staged Deployment +Documentation=man:ostree(1) ConditionPathExists=/run/ostree-booted DefaultDependencies=no diff --git a/src/boot/ostree-prepare-root.service b/src/boot/ostree-prepare-root.service index 52cf8863..5467bcfd 100644 --- a/src/boot/ostree-prepare-root.service +++ b/src/boot/ostree-prepare-root.service @@ -17,6 +17,7 @@ [Unit] Description=OSTree Prepare OS/ +Documentation=man:ostree(1) DefaultDependencies=no ConditionKernelCommandLine=ostree ConditionPathExists=/etc/initrd-release diff --git a/src/boot/ostree-remount.service b/src/boot/ostree-remount.service index 47e1387a..b98110c2 100644 --- a/src/boot/ostree-remount.service +++ b/src/boot/ostree-remount.service @@ -16,7 +16,8 @@ # Boston, MA 02111-1307, USA. [Unit] -Description=OSTree Remount OS/ bind mounts +Description=OSTree Remount OS/ Bind Mounts +Documentation=man:ostree(1) DefaultDependencies=no ConditionKernelCommandLine=ostree OnFailure=emergency.target