aboutsummaryrefslogtreecommitdiffstats
path: root/user/mpd-new.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-07-26 13:47:40 +0200
committerDavid Runge <dave@sleepmap.de>2015-07-26 13:47:40 +0200
commit179c8176396f0c4542eff4241bf31983558131d5 (patch)
tree2c8dbfc974f9ff4bd519a5d65db3dd15e3e66f69 /user/mpd-new.service
parentf93f71fed31385f25bb19dc5422220644d1747fc (diff)
downloaduenv-179c8176396f0c4542eff4241bf31983558131d5.tar.gz
uenv-179c8176396f0c4542eff4241bf31983558131d5.tar.bz2
uenv-179c8176396f0c4542eff4241bf31983558131d5.tar.xz
uenv-179c8176396f0c4542eff4241bf31983558131d5.zip
user/mpd-new.service: Renaming mpd.service to not get into conflict with upstream's version.
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