aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-01-04 11:54:40 +0100
committerGravatar Christian Hesse <mail@eworm.de>2017-01-04 11:54:40 +0100
commitb27f35fa84f987e1f8d93f0318c926ba50ad7375 (patch)
tree77f007138fe6b8b2a4e192b8a5450bc8543682c8
parenta60f7d9a0ec34a77078cc0d7b2b680d212af919e (diff)
downloadmpd-notification-b27f35fa84f987e1f8d93f0318c926ba50ad7375.tar.gz
mpd-notification-b27f35fa84f987e1f8d93f0318c926ba50ad7375.tar.zst
remove workaround from systemd unitmpd-0-20
Version 0.20 of mpd is available, which provides proper startup notification. So drop the workaround...
-rw-r--r--systemd/mpd-notification.service7
1 files changed, 0 insertions, 7 deletions
diff --git a/systemd/mpd-notification.service b/systemd/mpd-notification.service
index ab9e265..2e907df 100644
--- a/systemd/mpd-notification.service
+++ b/systemd/mpd-notification.service
@@ -9,13 +9,6 @@ After=mpd.service network.target network-online.target
[Service]
Type=simple
-# Using mpd user service can result in mpd-notification starting too early
-# as systemd thinks mpd has finished initialization but socket is not yet
-# available. So sleep for a second before starting.
-# TODO: Remove workarount when upstream fix is released. Currently in git:
-# http://git.musicpd.org/cgit/master/mpd.git/commit/?id=7b575f61
-# http://git.musicpd.org/cgit/master/mpd.git/commit/?id=c85ba733
-ExecStartPre=/usr/bin/sleep 1
ExecStart=/usr/bin/mpd-notification
[Install]