mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
launch: Avoid specifically starting PA and rely on autospawn/socket activation
This --start is patched out in several downstreams to allow users to easily disable PA by simply disabling autospawn. If autospawn is enabled, then the first pactl command will start it and if not it will fail and the script will exit. When switching to systemd socket activation, we very much do not want to start PA manually here. We could replace it with a systemctl --user start pulseaudio but really it just makes sense to rely on the socket activation as this should apply equally to non-systemd setups which use PA's own autospawn.
This commit is contained in:
parent
467b4b9bee
commit
42156d2b5a
1 changed files with 0 additions and 2 deletions
|
|
@ -19,8 +19,6 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@PA_BINARY@ --start "$@"
|
|
||||||
|
|
||||||
if [ x"$DISPLAY" != x ] ; then
|
if [ x"$DISPLAY" != x ] ; then
|
||||||
|
|
||||||
@PACTL_BINARY@ load-module module-x11-publish "display=$DISPLAY" > /dev/null
|
@PACTL_BINARY@ load-module module-x11-publish "display=$DISPLAY" > /dev/null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue