clevis/backport-systemd-add-Documentation-keys-to-units.patch
2020-12-14 19:43:44 +08:00

37 lines
1.2 KiB
Diff

From b6d53c7279e71a6f5c47e32cb5f69944bf513055 Mon Sep 17 00:00:00 2001
From: Jonathan Lebon <jonathan@jlebon.com>
Date: Thu, 2 Jul 2020 11:08:57 -0400
Subject: [PATCH] systemd: add Documentation keys to units
To be nice to users who want to learn more about these units.
---
src/luks/systemd/clevis-luks-askpass.path | 1 +
src/luks/systemd/clevis-luks-askpass.service.in | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/luks/systemd/clevis-luks-askpass.path b/src/luks/systemd/clevis-luks-askpass.path
index 5696786..89e0aed 100644
--- a/src/luks/systemd/clevis-luks-askpass.path
+++ b/src/luks/systemd/clevis-luks-askpass.path
@@ -1,5 +1,6 @@
[Unit]
Description=Clevis systemd-ask-password Watcher
+Documentation=man:clevis-luks-unlockers(7)
DefaultDependencies=no
Before=cryptsetup-pre.target
Wants=cryptsetup-pre.target
diff --git a/src/luks/systemd/clevis-luks-askpass.service.in b/src/luks/systemd/clevis-luks-askpass.service.in
index f1908d5..458389f 100644
--- a/src/luks/systemd/clevis-luks-askpass.service.in
+++ b/src/luks/systemd/clevis-luks-askpass.service.in
@@ -1,5 +1,6 @@
[Unit]
Description=Clevis LUKS systemd-ask-password Responder
+Documentation=man:clevis-luks-unlockers(7)
DefaultDependencies=no
[Service]
--
2.27.0