Blob Blame History Raw
From 21a728785027483786e41c19f6aff57a95b80aa5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ferenc=20W=C3=A1gner?= <wferi@niif.hu>
Date: Wed, 18 May 2016 22:59:40 +0200
Subject: [PATCH] init: Add doc URIs to the systemd service files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

These are used by systemctl help.

Signed-off-by: Ferenc Wágner <wferi@niif.hu>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
(cherry picked from commit 8a940f9a18bdcdabef31f796e3572070e72d487b)
---
 init/corosync-notifyd.service.in |    1 +
 init/corosync-qdevice.service.in |    1 +
 init/corosync-qnetd.service.in   |    1 +
 init/corosync.service.in         |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/init/corosync-notifyd.service.in b/init/corosync-notifyd.service.in
index ce576fe..689ab8e 100644
--- a/init/corosync-notifyd.service.in
+++ b/init/corosync-notifyd.service.in
@@ -1,5 +1,6 @@
 [Unit]
 Description=Corosync Dbus and snmp notifier
+Documentation=man:corosync-notifyd
 Wants=corosync.service
 After=corosync.service
 
diff --git a/init/corosync-qdevice.service.in b/init/corosync-qdevice.service.in
index 54bec69..8de4e5b 100644
--- a/init/corosync-qdevice.service.in
+++ b/init/corosync-qdevice.service.in
@@ -1,5 +1,6 @@
 [Unit]
 Description=Corosync Qdevice daemon
+Documentation=man:corosync-qdevice
 ConditionKernelCommandLine=!nocluster
 Wants=corosync.service
 After=corosync.service
diff --git a/init/corosync-qnetd.service.in b/init/corosync-qnetd.service.in
index 8374910..c6cf8c9 100644
--- a/init/corosync-qnetd.service.in
+++ b/init/corosync-qnetd.service.in
@@ -1,5 +1,6 @@
 [Unit]
 Description=Corosync Qdevice Network daemon
+Documentation=man:corosync-qnetd
 ConditionKernelCommandLine=!nocluster
 Requires=network-online.target
 After=network-online.target
diff --git a/init/corosync.service.in b/init/corosync.service.in
index d71a857..12193b1 100644
--- a/init/corosync.service.in
+++ b/init/corosync.service.in
@@ -1,5 +1,6 @@
 [Unit]
 Description=Corosync Cluster Engine
+Documentation=man:corosync man:corosync.conf man:corosync_overview
 ConditionKernelCommandLine=!nocluster
 Requires=network-online.target
 After=network-online.target
-- 
1.7.1