2 # Enable service by default, creating an alias from
3 # pipewire-session-manager.service, which is required by pipewire.service
4 systemctl --global enable pipewire-media-session.service
8 if (( $(vercmp "$2" '0.3.23-1') < 0)); then
9 systemctl --global enable pipewire-media-session.service
12 # Reenable the service if needed so the alias gets created.
13 if (( $(vercmp "$2" '1:0.3.38-1') < 0)); then
14 if systemctl --global is-enabled -q pipewire-media-session.service; then
15 systemctl --global reenable pipewire-media-session.service
18 >>> If you enabled pipewire-media-session.service manually for any user, run
19 "systemctl --user reenable pipewire-media-session.service" for these users
20 now. This will create a required service alias.
26 systemctl --global disable pipewire-media-session.service