aboutsummaryrefslogtreecommitdiffstats
path: root/.config/systemd/user
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2019-03-02 12:41:00 +0100
committerDavid Runge <dave@sleepmap.de>2019-03-02 12:41:00 +0100
commit1bdbdf4308a07e7908b2d63b9d1686eb69827cc1 (patch)
tree727b0ceeb695221c36c8609fd57c7377659ac369 /.config/systemd/user
parentbd1d5ec7b6649d462057ca75aa05c42d5f17770d (diff)
downloaddotfiles-1bdbdf4308a07e7908b2d63b9d1686eb69827cc1.tar.gz
dotfiles-1bdbdf4308a07e7908b2d63b9d1686eb69827cc1.tar.bz2
dotfiles-1bdbdf4308a07e7908b2d63b9d1686eb69827cc1.tar.xz
dotfiles-1bdbdf4308a07e7908b2d63b9d1686eb69827cc1.zip
.config/systemd/user/jack@.service: Reusing (soon upstreamed) jack@ user service template.
Diffstat (limited to '.config/systemd/user')
-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