diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-03-07 20:48:01 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-03-07 20:51:07 +0000 |
commit | 9e07f9a25eb338b8f31ed0cb3ddd610d3f516038 (patch) | |
tree | 7dcc628e09988eca0d2f5231a1e15c256bd44434 /media-sound | |
parent | sys-process/psmisc: fix building w/newer glibc (diff) | |
parent | media-sound/mpd: fix the systemd user service (diff) | |
download | gentoo-9e07f9a25eb338b8f31ed0cb3ddd610d3f516038.tar.gz gentoo-9e07f9a25eb338b8f31ed0cb3ddd610d3f516038.tar.bz2 gentoo-9e07f9a25eb338b8f31ed0cb3ddd610d3f516038.zip |
Merge github#758: media-sound/mpd: fix the systemd user service
Pull-Request: https://github.com/gentoo/gentoo/pull/758
See-Also: https://github.com/gentoo/gentoo/pull/587
Reporter: Lukáš Hrázký <lukkash@email.cz>
Acked-by: Mike Gilbert <floppym@gentoo.org>
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/mpd/mpd-0.19.12.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media-sound/mpd/mpd-0.19.12.ebuild b/media-sound/mpd/mpd-0.19.12.ebuild index 777cd2df38cb..bd945c127366 100644 --- a/media-sound/mpd/mpd-0.19.12.ebuild +++ b/media-sound/mpd/mpd-0.19.12.ebuild @@ -224,6 +224,8 @@ src_install() { newinitd "${FILESDIR}"/${PN}2.init ${PN} systemd_newuserunit systemd/${PN}.service ${PN}.service + sed -i '/WantedBy=/c WantedBy=default.target' \ + "${ED}"/usr/lib/systemd/user/mpd.service || die "sed failed" if use unicode; then sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ |