aboutsummaryrefslogtreecommitdiffstats
path: root/user/mpd@.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-06-27 14:43:53 +0200
committerDavid Runge <dave@sleepmap.de>2015-06-27 14:43:53 +0200
commit60ab8e606c1bcbbbfd167843a81460d9dee6dc9c (patch)
tree4b9de65b2f97323d423a643bf55d166c33785a52 /user/mpd@.service
parent7ad9c1df84ff9657ff55f94ea5acf546f59dbf69 (diff)
downloaduenv-60ab8e606c1bcbbbfd167843a81460d9dee6dc9c.tar.gz
uenv-60ab8e606c1bcbbbfd167843a81460d9dee6dc9c.tar.bz2
uenv-60ab8e606c1bcbbbfd167843a81460d9dee6dc9c.tar.xz
uenv-60ab8e606c1bcbbbfd167843a81460d9dee6dc9c.zip
user/mpd@.service: Adding correct RT settings.\n Adding the creation of a proper mpd run directory for a FIFO.
Diffstat (limited to 'user/mpd@.service')
-rw-r--r--user/mpd@.service5
1 files changed, 5 insertions, 0 deletions
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