summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-01-04 21:30:17 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-01-04 21:30:54 +0000
commit99260be901aea0a07c7010fb80037279a47c1c28 (patch)
tree06898447dc3008e8737e6815467e7fda66bee861
parentdev-java/oracle-javamail: Version bump. Fixes 557882. (diff)
parentmedia-sound/mpd: add a systemd user service (diff)
downloadgentoo-99260be901aea0a07c7010fb80037279a47c1c28.tar.gz
gentoo-99260be901aea0a07c7010fb80037279a47c1c28.tar.bz2
gentoo-99260be901aea0a07c7010fb80037279a47c1c28.zip
Merge remote-tracking branch 'github/pr/587'.
-rw-r--r--media-sound/mpd/mpd-0.19.11.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/media-sound/mpd/mpd-0.19.11.ebuild b/media-sound/mpd/mpd-0.19.11.ebuild
index da43a94770b2..ac380c618904 100644
--- a/media-sound/mpd/mpd-0.19.11.ebuild
+++ b/media-sound/mpd/mpd-0.19.11.ebuild
@@ -223,6 +223,8 @@ src_install() {
newinitd "${FILESDIR}"/${PN}2.init ${PN}
+ systemd_newuserunit systemd/${PN}.service ${PN}.service
+
if use unicode; then
sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \
"${ED}"/etc/mpd.conf || die "sed failed"