From 60ab8e606c1bcbbbfd167843a81460d9dee6dc9c Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 27 Jun 2015 14:43:53 +0200 Subject: user/mpd@.service: Adding correct RT settings.\n Adding the creation of a proper mpd run directory for a FIFO. --- user/mpd@.service | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'user') diff --git a/user/mpd@.service b/user/mpd@.service index b3a6810..b9c92b7 100644 --- a/user/mpd@.service +++ b/user/mpd@.service @@ -4,9 +4,14 @@ After=network.target sound.target Conflicts=mpd.service [Service] +ExecStartPre=/usr/bin/mkdir -p %t/mpd ExecStart=/usr/bin/mpd --no-daemon %h/.config/mpd/mpd-%i.conf ExecStartPost=/usr/bin/pax11publish -S %i -e ExecStopPost=/usr/bin/pax11publish -r +CPUSchedulingPolicy=rr +CPUSchedulingPriority=70 +LimitRTPRIO=50 +LimitRTTIME=-1 [Install] WantedBy=default.target -- cgit v1.2.3-70-g09d2