Running
mpd
without any bind_to_address
in the config starts a working UNIX socket at /run/user/1000/mpd/socket
but also starts a network socket at 0.0.0.0:6600
/ [::]:6600
.
I would like to have only the UNIX socket without any network sockets, however, when configuring bind_to_address "/run/user/1000/mpd/socket"
it only works if the socket directory is already created (e.g. by starting mpd without any bind_to_address
previously). This means it fails after reboot.
Also, this method would hardcode the socket address instead of using $XDG_RUNTIME_DIR
.
Is there a way to make mpd start only a UNIX socket (and ideally read $XDG_RUNTIME_DIR
for that) using plain mpd without systemd?
Asked by niklassc
(113 rep)
May 23, 2025, 01:18 AM
Last activity: May 28, 2025, 04:47 AM
Last activity: May 28, 2025, 04:47 AM