fix LimitRTTIME in systemd unit file

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>
This commit is contained in:
Christian Hesse 2015-12-01 08:53:35 +01:00 committed by Max Kellermann
parent 6626c2d00d
commit 77aaf1baee
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -1,5 +1,6 @@
ver 0.19.12 (not yet released)
* fix build failure on non-Linux systems
* fix LimitRTTIME in systemd unit file
ver 0.19.11 (2015/10/27)
* tags

View File

@ -7,7 +7,7 @@ ExecStart=@prefix@/bin/mpd --no-daemon
# allow MPD to use real-time priority 50
LimitRTPRIO=50
LimitRTTIME=-1
LimitRTTIME=infinity
[Install]
WantedBy=multi-user.target