Increase memlock limits in systemd service files

This commit is contained in:
Wim Taymans 2021-01-22 13:18:48 +01:00
parent 652a4ae26d
commit c866d5c1f4
3 changed files with 3 additions and 0 deletions

View file

@ -21,6 +21,7 @@ Restart=on-failure
RuntimeDirectory=pipewire
User=pipewire
Environment=PIPEWIRE_RUNTIME_DIR=%t/pipewire
LimitMEMLOCK=131072
[Install]
Also=pipewire.socket

View file

@ -20,6 +20,7 @@ ConditionUser=!root
Type=simple
ExecStart=@PW_PULSE_BINARY@
Restart=on-failure
LimitMEMLOCK=131072
[Install]
Also=pipewire-pulse.socket

View file

@ -19,6 +19,7 @@ Requires=pipewire.socket
Type=simple
ExecStart=@PW_BINARY@
Restart=on-failure
LimitMEMLOCK=131072
[Install]
Also=pipewire.socket