[Pkg-mpd-commits] [pkg-mpd] 08/13: also disable mpd.socket when disabling mpd.service (closes: #769951)

Florian Schlichting fsfs at moszumanska.debian.org
Sat Mar 21 00:29:53 UTC 2015


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

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

commit 269a75f96a54b0ef90f9633bd9e6a463e792172c
Author: Florian Schlichting <fsfs at debian.org>
Date:   Sat Mar 21 01:08:57 2015 +0100

    also disable mpd.socket when disabling mpd.service (closes: #769951)
---
 debian/patches/also-dis_en_able-socket.patch | 12 ++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 13 insertions(+)

diff --git a/debian/patches/also-dis_en_able-socket.patch b/debian/patches/also-dis_en_able-socket.patch
new file mode 100644
index 0000000..69f4c8d
--- /dev/null
+++ b/debian/patches/also-dis_en_able-socket.patch
@@ -0,0 +1,12 @@
+Description: also disable mpd.socket when disabling mpd.service
+ e.g. when running 'update-rc.d mpd disable'
+Author: Clément B. <cb+debianbugreport at rthelemy.eu>
+Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769951
+
+--- a/systemd/mpd.service.in
++++ b/systemd/mpd.service.in
+@@ -21,3 +21,4 @@
+ 
+ [Install]
+ WantedBy=multi-user.target
++Also=mpd.socket
diff --git a/debian/patches/series b/debian/patches/series
index f32badf..8e7b00c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 systemd_honor_MPDCONF.patch
 typo.patch
+also-dis_en_able-socket.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