- Run cantata-dynamic as user mpd, group audio (instead of root). This also requires that /run/cantata-dynamic is created by systemd as user mpd doesn't have the necessary right.
- When cantata-dynamic is started, ensure that mpd is started before it.