[Pkg-mpd-commits] [pkg-mpd] 05/06: New systemd_honor_MPDCONF.patch

Florian Schlichting fsfs at moszumanska.debian.org
Wed Feb 12 22:07:17 UTC 2014


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

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

commit 9d7877e3023fdb170eafc5a6a6b82288e5da332b
Author: Florian Schlichting <fsfs at debian.org>
Date:   Sun Feb 9 22:16:17 2014 +0100

    New systemd_honor_MPDCONF.patch
---
 debian/patches/series                      |  1 +
 debian/patches/systemd_honor_MPDCONF.patch | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5a8d510
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+systemd_honor_MPDCONF.patch
diff --git a/debian/patches/systemd_honor_MPDCONF.patch b/debian/patches/systemd_honor_MPDCONF.patch
new file mode 100644
index 0000000..f116240
--- /dev/null
+++ b/debian/patches/systemd_honor_MPDCONF.patch
@@ -0,0 +1,16 @@
+Description: source $MPDCONF from /etc/default/mpd
+Author: Florian Schlichting <fsfs at debian.org>
+Forwarded: not-needed
+
+--- a/mpd.service.in
++++ b/mpd.service.in
+@@ -3,7 +3,8 @@
+ After=network.target sound.target
+ 
+ [Service]
+-ExecStart=@prefix@/bin/mpd --no-daemon
++EnvironmentFile=/etc/default/mpd
++ExecStart=@prefix@/bin/mpd --no-daemon $MPDCONF
+ 
+ [Install]
+ WantedBy=multi-user.target

-- 
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