From a7453e21a5d1ea46f62ddec13c384aa021ba0a4d Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 27 Jun 2015 14:45:09 +0200 Subject: user/mpd.service: Adding a replacement for the broken upstream mpd user service file.\n Adding the creation of a proper mpd run directory for a FIFO. --- user/mpd.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 user/mpd.service diff --git a/user/mpd.service b/user/mpd.service new file mode 100644 index 0000000..7502d01 --- /dev/null +++ b/user/mpd.service @@ -0,0 +1,15 @@ +[Unit] +Description=Music Player Daemon +After=network.target sound.target +Conflicts=mpd@.service + +[Service] +ExecStartPre=/usr/bin/mkdir -p %t/mpd +ExecStart=/usr/bin/mpd --no-daemon +CPUSchedulingPolicy=rr +CPUSchedulingPriority=70 +LimitRTPRIO=50 +LimitRTTIME=-1 + +[Install] +WantedBy=default.target -- cgit v1.2.3-70-g09d2