summaryrefslogtreecommitdiffstats
path: root/meta-systemd
diff options
context:
space:
mode:
Diffstat (limited to 'meta-systemd')
-rw-r--r--meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend b/meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend
new file mode 100644
index 000000000..eee4cdd3a
--- /dev/null
+++ b/meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend
@@ -0,0 +1,14 @@
1PRINC := "${@int(PRINC) + 1}"
2
3inherit systemd
4
5EXTRA_OECONF += "--with-systemdsystemunitdir=${systemd_unitdir}/system"
6
7do_install_append() {
8 sed -i \
9 's|^ExecStart=.*|ExecStart=${bindir}/mpd --no-daemon|' \
10 ${D}/${systemd_unitdir}/system/mpd.service
11}
12
13SYSTEMD_PACKAGES = "${PN}-systemd"
14SYSTEMD_SERVICE = "mpd.service"