mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Increase memlock limits in systemd service files
This commit is contained in:
parent
652a4ae26d
commit
c866d5c1f4
3 changed files with 3 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ Restart=on-failure
|
||||||
RuntimeDirectory=pipewire
|
RuntimeDirectory=pipewire
|
||||||
User=pipewire
|
User=pipewire
|
||||||
Environment=PIPEWIRE_RUNTIME_DIR=%t/pipewire
|
Environment=PIPEWIRE_RUNTIME_DIR=%t/pipewire
|
||||||
|
LimitMEMLOCK=131072
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Also=pipewire.socket
|
Also=pipewire.socket
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ ConditionUser=!root
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=@PW_PULSE_BINARY@
|
ExecStart=@PW_PULSE_BINARY@
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
LimitMEMLOCK=131072
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Also=pipewire-pulse.socket
|
Also=pipewire-pulse.socket
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ Requires=pipewire.socket
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=@PW_BINARY@
|
ExecStart=@PW_BINARY@
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
LimitMEMLOCK=131072
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Also=pipewire.socket
|
Also=pipewire.socket
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue