[Pkg-mpd-commits] [pkg-mpd] 03/05: Add Documentation key to systemd service file

Florian Schlichting fsfs at moszumanska.debian.org
Sun Apr 24 20:33:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to branch master
in repository pkg-mpd.

commit c0cc8b65bce0fcf32560559bad8df9e61212e96a
Author: Florian Schlichting <fsfs at debian.org>
Date:   Sun Apr 24 22:14:21 2016 +0200

    Add Documentation key to systemd service file
---
 debian/patches/mpd.service.documentation.patch      | 16 ++++++++++++++++
 debian/patches/mpd.service.documentation.user.patch | 14 ++++++++++++++
 debian/patches/series                               |  2 ++
 3 files changed, 32 insertions(+)

diff --git a/debian/patches/mpd.service.documentation.patch b/debian/patches/mpd.service.documentation.patch
new file mode 100644
index 0000000..173d0d4
--- /dev/null
+++ b/debian/patches/mpd.service.documentation.patch
@@ -0,0 +1,16 @@
+Description: mpd.service: Set the Documentation option
+ This makes references to mpd(1) and mpd(5) appear in systemd status output.
+Author: Wieland Hoffmann <themineo at gmail.com>
+Origin: upstream
+
+diff --git a/systemd/mpd.service.in b/systemd/mpd.service.in
+index a72eb92..caf0d67 100644
+--- a/systemd/mpd.service.in
++++ b/systemd/mpd.service.in
+@@ -1,5 +1,6 @@
+ [Unit]
+ Description=Music Player Daemon
++Documentation=man:mpd(1) man:mpd.conf(5)
+ After=network.target sound.target
+ 
+ [Service]
diff --git a/debian/patches/mpd.service.documentation.user.patch b/debian/patches/mpd.service.documentation.user.patch
new file mode 100644
index 0000000..c55cc65
--- /dev/null
+++ b/debian/patches/mpd.service.documentation.user.patch
@@ -0,0 +1,14 @@
+Description: add user documentation to systemd status
+Author: Florian Schlichting <fsfs at debian.org>
+Forwarded: not-needed
+
+--- a/systemd/mpd.service.in
++++ b/systemd/mpd.service.in
+@@ -1,6 +1,7 @@
+ [Unit]
+ Description=Music Player Daemon
+ Documentation=man:mpd(1) man:mpd.conf(5)
++Documentation=file:///usr/share/doc/mpd/user-manual.html
+ After=network.target sound.target
+ 
+ [Service]
diff --git a/debian/patches/series b/debian/patches/series
index 174daad..ef53f82 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,5 @@ curl-proxy.patch
 bind-to-address-socket-activation.patch
 prune-doc-data.patch
 stdint.patch
+mpd.service.documentation.patch
+mpd.service.documentation.user.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/pkg-mpd.git



More information about the Pkg-mpd-commits mailing list