diff options
Diffstat (limited to 'meta-systemd')
-rw-r--r-- | meta-systemd/meta-multimedia/recipes-multimedia/musicpd/mpd_0.17.1.bbappend | 14 |
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 @@ | |||
1 | PRINC := "${@int(PRINC) + 1}" | ||
2 | |||
3 | inherit systemd | ||
4 | |||
5 | EXTRA_OECONF += "--with-systemdsystemunitdir=${systemd_unitdir}/system" | ||
6 | |||
7 | do_install_append() { | ||
8 | sed -i \ | ||
9 | 's|^ExecStart=.*|ExecStart=${bindir}/mpd --no-daemon|' \ | ||
10 | ${D}/${systemd_unitdir}/system/mpd.service | ||
11 | } | ||
12 | |||
13 | SYSTEMD_PACKAGES = "${PN}-systemd" | ||
14 | SYSTEMD_SERVICE = "mpd.service" | ||