summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Lebon <jonathan@jlebon.com>2018-09-28 14:15:22 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-10-05 21:17:54 +0000
commit9161eb8c326442cd2d9a79c14ce8dd09733ed023 (patch)
tree7566e7e46ded3eb8c40f7d53098decaf4de4c26c
parent367be40a8995fb4fb3434690369ad36561688d86 (diff)
downloadostree-9161eb8c326442cd2d9a79c14ce8dd09733ed023.tar.gz
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
-rw-r--r--src/boot/ostree-finalize-staged.service1
-rw-r--r--src/boot/ostree-prepare-root.service1
-rw-r--r--src/boot/ostree-remount.service3
3 files changed, 4 insertions, 1 deletions
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