mpd.service: depend on network.target

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.
This commit is contained in:
John 2012-11-21 17:26:23 +01:00 committed by Max Kellermann
parent 8fb20fcdf8
commit a9a5907a0f
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[Unit]
Description=Music Player Daemon
After=sound.target
After=network.target sound.target
[Service]
ExecStart=@prefix@/bin/mpd --no-daemon