aboutsummaryrefslogtreecommitdiff
path: root/mpd.service.in
diff options
context:
space:
mode:
authorJohn <da_audiophile@yahoo.com>2012-11-21 17:26:23 +0100
committerMax Kellermann <max@duempel.org>2012-11-21 17:26:23 +0100
commita9a5907a0ffe67c5da9bc34d615ab4aa8d7ba4fa (patch)
treec9e54d609c8dd5a86eb7e8140a7a0a98e31a42de /mpd.service.in
parent8fb20fcdf8e2c04c385d868dd791be0d1fa2b045 (diff)
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.
Diffstat (limited to 'mpd.service.in')
-rw-r--r--mpd.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpd.service.in b/mpd.service.in
index 9e9282fa..65fffa7b 100644
--- a/mpd.service.in
+++ b/mpd.service.in
@@ -1,6 +1,6 @@
[Unit]
Description=Music Player Daemon
-After=sound.target
+After=network.target sound.target
[Service]
ExecStart=@prefix@/bin/mpd --no-daemon