aboutsummaryrefslogtreecommitdiffstats
path: root/user/mpd-new.service
diff options
context:
space:
mode:
Diffstat (limited to 'user/mpd-new.service')
-rw-r--r--user/mpd-new.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/mpd-new.service b/user/mpd-new.service
new file mode 100644
index 0000000..7502d01
--- /dev/null
+++ b/user/mpd-new.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