Disable SSL to avoid browser warnings about self-signed certificate.
Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
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
}