summaryrefslogtreecommitdiffstats
path: root/debian/rlimits
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:28:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:28:17 +0000
commit7a7930837235399abe3a43052b4aecd559982d62 (patch)
treecd64be32f3ed114012fe14594c014c6ea39551ce /debian/rlimits
parentAdding upstream version 0.3.65. (diff)
downloadpipewire-7a7930837235399abe3a43052b4aecd559982d62.tar.xz
pipewire-7a7930837235399abe3a43052b4aecd559982d62.zip
Adding debian version 0.3.65-3+deb12u1.debian/0.3.65-3+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rlimits')
-rw-r--r--debian/rlimits/95-pipewire.conf4
-rw-r--r--debian/rlimits/README8
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/rlimits/95-pipewire.conf b/debian/rlimits/95-pipewire.conf
new file mode 100644
index 0000000..47f9ab4
--- /dev/null
+++ b/debian/rlimits/95-pipewire.conf
@@ -0,0 +1,4 @@
+# Default limits for users of pipewire
+@pipewire - rtprio 95
+@pipewire - nice -19
+@pipewire - memlock 4194304
diff --git a/debian/rlimits/README b/debian/rlimits/README
new file mode 100644
index 0000000..58d4ad2
--- /dev/null
+++ b/debian/rlimits/README
@@ -0,0 +1,8 @@
+Setting pipewire real-time priority limits
+---------------------------------------
+
+The debian/rlimits/95-pipewire.conf defines the real-time priority limits
+for the system group "pipewire" as recommended by upstream.
+This file is installed in /etc/security/limits.d/.
+
+See https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Performance-tuning#rlimits