diff options
author | David Runge <dave@sleepmap.de> | 2015-06-27 14:45:09 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-06-27 14:45:09 +0200 |
commit | a7453e21a5d1ea46f62ddec13c384aa021ba0a4d (patch) | |
tree | f450520c9ac1590aea277d794a61e559032649dd /user | |
parent | 60ab8e606c1bcbbbfd167843a81460d9dee6dc9c (diff) | |
download | uenv-a7453e21a5d1ea46f62ddec13c384aa021ba0a4d.tar.gz uenv-a7453e21a5d1ea46f62ddec13c384aa021ba0a4d.tar.bz2 uenv-a7453e21a5d1ea46f62ddec13c384aa021ba0a4d.tar.xz uenv-a7453e21a5d1ea46f62ddec13c384aa021ba0a4d.zip |
user/mpd.service: Adding a replacement for the broken upstream mpd user service file.\n Adding the creation of a proper mpd run directory for a FIFO.
Diffstat (limited to 'user')
-rw-r--r-- | user/mpd.service | 15 |
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 |