mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
launch: avoid autostarting pipewire-pulse systemd units for root
Long story short, this is something pulseaudio has since 2017 [1]. If
pipewire-pulse is aiming to be a drop-in replacement, the same behaviour
is probably expected.
I noticed that without this line I hit some issues with systemd socket
activation. In fact, it does not work properly at all. It probably has
something to do with the fact that pipewire-pulse is started for GDM
session and is somehow propagated down to my own user session.
[1] 24928d6b6f
This commit is contained in:
parent
738d9b7767
commit
8942f6b402
2 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ Description=PipeWire PulseAudio
|
|||
# After=pipewire-pulse.socket is not needed, as it is already implicit in the
|
||||
# socket-service relationship, see systemd.socket(5).
|
||||
Requires=pipewire-pulse.socket
|
||||
ConditionUser=!root
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
[Unit]
|
||||
Description=PipeWire PulseAudio
|
||||
ConditionUser=!root
|
||||
|
||||
[Socket]
|
||||
Priority=6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue