aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/systemd/user/jack@.service10
1 files 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