]> Untitled Git - yocto/meta-hvmpd.git/commitdiff
mympd: disable SSL (https) and enable HTTP port 8081
authorHugo Villeneuve <hugo@hugovil.com>
Sat, 28 Mar 2026 20:19:58 +0000 (16:19 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Sat, 28 Mar 2026 20:53:38 +0000 (16:53 -0400)
Disable SSL to avoid browser warnings about self-signed certificate.

Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
recipes-multimedia/musicpd/mympd_git.bb

index f5f5bd22c4700c18ac8c645ca8befe101e540a7a..4b2e8b6422de3b2e95c7eaca90e22c03b89d6ab7 100644 (file)
@@ -19,9 +19,8 @@ inherit pkgconfig cmake systemd
 do_install:append() {
     rm -rf ${D}${systemd_user_unitdir}
 
-    # Disable http service because of conflict with ympd on port 8080.
-    # myMPD can be launched with: https://<hostname>:8443
-    sed -e '/^\[Service\]/s/$/\nEnvironment=MYMPD_HTTP=false/' \
+    # Use port 8081 as port 8080 is used by ympd.
+    sed -e '/^\[Service\]/s/$/\nEnvironment=MYMPD_HTTP_PORT=8081\nEnvironment=MYMPD_SSL=false/' \
         -i ${D}${systemd_system_unitdir}/mympd.service
 }