77aaf1baee
systemd does not understand LimitRTTIME=-1. For no limit we have to use the string 'infinity' (see systemd.exec(5)). Signed-off-by: Christian Hesse <mail@eworm.de>
14 lines
239 B
SYSTEMD
14 lines
239 B
SYSTEMD
[Unit]
|
|
Description=Music Player Daemon
|
|
After=network.target sound.target
|
|
|
|
[Service]
|
|
ExecStart=@prefix@/bin/mpd --no-daemon
|
|
|
|
# allow MPD to use real-time priority 50
|
|
LimitRTPRIO=50
|
|
LimitRTTIME=infinity
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|