From 181e7da1b60a9be5111e97eeda39a6920ceb4b05 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Tue, 3 Jan 2023 19:36:16 -0500 Subject: [PATCH] mpd: disable systemd mpd.socket to enable zeroconf --- recipes-multimedia/musicpd/mpd_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) 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" -- 2.20.1