Skip to content

Commit

Permalink
fix LimitRTTIME in systemd unit file
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
eworm-de authored and MaxKellermann committed Dec 15, 2015
1 parent 6626c2d commit 77aaf1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion systemd/mpd.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 77aaf1b

Please sign in to comment.