diff options
author | John <da_audiophile@yahoo.com> | 2012-11-21 17:26:23 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-11-21 17:26:23 +0100 |
commit | a9a5907a0ffe67c5da9bc34d615ab4aa8d7ba4fa (patch) | |
tree | c9e54d609c8dd5a86eb7e8140a7a0a98e31a42de | |
parent | 8fb20fcdf8e2c04c385d868dd791be0d1fa2b045 (diff) | |
download | mpd-a9a5907a0ffe67c5da9bc34d615ab4aa8d7ba4fa.tar.gz mpd-a9a5907a0ffe67c5da9bc34d615ab4aa8d7ba4fa.tar.xz mpd-a9a5907a0ffe67c5da9bc34d615ab4aa8d7ba4fa.zip |
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.
-rw-r--r-- | mpd.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpd.service.in b/mpd.service.in index 9e9282fa6..65fffa7bb 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 |