diff options
author | David Runge <dave@sleepmap.de> | 2019-02-12 21:35:46 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2019-02-12 21:35:46 +0100 |
commit | 426cc58ca7c76abd7aa6a52071e46334d56fe0dd (patch) | |
tree | 94e6cd4f7bc5c37849d44d1e9153d3b6e10283be | |
parent | 12fcd11af647fcc2397c5a234d87190bf59634c8 (diff) | |
download | jack2-426cc58ca7c76abd7aa6a52071e46334d56fe0dd.tar.gz |
systemd/jack@.service: Adding LimitMEMLOCK and adding (a commented) disabling of OOMScoreAdjust (which would disable OOM killer).
-rw-r--r-- | systemd/jack@.service | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/systemd/jack@.service b/systemd/jack@.service index 6842585c..bc4e8618 100644 --- a/systemd/jack@.service +++ b/systemd/jack@.service @@ -10,6 +10,9 @@ 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 |