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