From 1bdbdf4308a07e7908b2d63b9d1686eb69827cc1 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 2 Mar 2019 12:41:00 +0100 Subject: .config/systemd/user/jack@.service: Reusing (soon upstreamed) jack@ user service template. --- .config/systemd/user/jack@.service | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.config/systemd/user/jack@.service b/.config/systemd/user/jack@.service index 1a77e5a..6e70cc7 100644 --- a/.config/systemd/user/jack@.service +++ b/.config/systemd/user/jack@.service @@ -1,13 +1,17 @@ [Unit] -Description=JACK server using %i configuration +Description=JACK server using %i.conf profile +Documentation=man:jackd(1) After=sound.target local-fs.target [Service] -EnvironmentFile=-/etc/jack/%i -EnvironmentFile=-%h/.config/jack/%i +EnvironmentFile=-/etc/jack/%i.conf +EnvironmentFile=-%h/.config/jack/%i.conf ExecStart=/usr/bin/jackd $JACK_OPTIONS -d $DRIVER -d $DEVICE $DRIVER_SETTINGS LimitRTPRIO=95 LimitRTTIME=infinity +LimitMEMLOCK=infinity +# Caution: use on memory-limited devices only +# OOMScoreAdjust=-1000 [Install] WantedBy=default.target -- cgit v1.2.3-70-g09d2