launch: Avoid specifically starting PA and rely on autospawn/socket activation 10/29910/1
authorColin Guthrie <colin@mageia.org>
Fri, 17 Oct 2014 12:43:18 +0000 (14:43 +0200)
committerJaska Uimonen <jaska.uimonen@intel.com>
Wed, 5 Nov 2014 13:39:48 +0000 (15:39 +0200)
commit03d28d6b1b317b9bffa3a9aa98eddcf78b8b5afb
treee073d49a569399bb88864a7f6266e5f46a7d2a78
parent13f73a14cc239fe690880b162235612afd49f407
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.

Change-Id: Ie730dacd598453f0bd3493cb3df3467a805a7a8b
src/daemon/start-pulseaudio-x11.in