aboutsummaryrefslogtreecommitdiffstats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-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