aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2019-02-13 15:22:37 +0100
committerDavid Runge <dave@sleepmap.de>2019-02-13 15:22:37 +0100
commitbb90b9a48d60605aa0542f858bb9097700b9f903 (patch)
tree2f14cff4be9c8ebe6fd35f6697c4744a5f00650a
parentf7aeb073e09c5118063108659550743c1bd04755 (diff)
downloaduenv-bb90b9a48d60605aa0542f858bb9097700b9f903.tar.gz
uenv-bb90b9a48d60605aa0542f858bb9097700b9f903.tar.bz2
uenv-bb90b9a48d60605aa0542f858bb9097700b9f903.tar.xz
uenv-bb90b9a48d60605aa0542f858bb9097700b9f903.zip
user/mpd@.service: Removing unneeded and plain contraproductive scheduling related settings. Removing pre/post scripts (configurations should define their backend properly).
-rw-r--r--user/mpd@.service7
1 files changed, 1 insertions, 6 deletions
diff --git a/user/mpd@.service b/user/mpd@.service
index 643b871..6bde606 100644
--- a/user/mpd@.service
+++ b/user/mpd@.service
@@ -4,13 +4,8 @@ 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/lib/systemd/scripts/mpd-pulse -c %i
-ExecStopPost=/usr/lib/systemd/scripts/mpd-pulse -d %i
-CPUSchedulingPolicy=rr
-CPUSchedulingPriority=70
-LimitRTPRIO=50
+LimitRTPRIO=75
LimitRTTIME=infinity
[Install]