
Since some configurations use the "bind_to_address" option in their /etc/mpd.conf, the systemd service file must wait for the network.target or else mpd will start before it and thus fail due to no iface.
10 lines
161 B
SYSTEMD
10 lines
161 B
SYSTEMD
[Unit]
|
|
Description=Music Player Daemon
|
|
After=network.target sound.target
|
|
|
|
[Service]
|
|
ExecStart=@prefix@/bin/mpd --no-daemon
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|