0cbfb610f2
This systemd feature has been removed a while ago without replacement, and it turns out that systemd developers suggest not using control groups at all to assign real-time privileges. Therfore, a replacement feature will not be implement in future systemd releases, and we can really remove those lines completely. See http://bugs.musicpd.org/view.php?id=4413
14 lines
233 B
SYSTEMD
14 lines
233 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=-1
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|