From: Hugo Villeneuve Date: Wed, 4 Jan 2023 00:36:16 +0000 (-0500) Subject: mpd: disable systemd mpd.socket to enable zeroconf X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=181e7da1b60a9be5111e97eeda39a6920ceb4b05;p=yocto%2Fmeta-hvmpd.git mpd: disable systemd mpd.socket to enable zeroconf --- diff --git a/recipes-multimedia/musicpd/mpd_%.bbappend b/recipes-multimedia/musicpd/mpd_%.bbappend index 8f86ff0..3bc503c 100644 --- a/recipes-multimedia/musicpd/mpd_%.bbappend +++ b/recipes-multimedia/musicpd/mpd_%.bbappend @@ -13,4 +13,10 @@ do_install:append() { echo "}" >> ${D}/${sysconfdir}/mpd.conf install -m 644 -o mpd -g audio ${WORKDIR}/radios.m3u ${D}/${localstatedir}/lib/mpd/playlists/ + + # Disabling autostart of mpd.socket, in order to enable zeroconf: + rm ${D}${systemd_unitdir}/system/mpd.socket } + +# Disabling autostart of mpd.socket, in order to enable zeroconf: +SYSTEMD_SERVICE:${PN} = "mpd.service"