launch: Disable autospawn by default when systemd daemon support is enabled.
authorColin Guthrie <colin@mageia.org>
Fri, 17 Oct 2014 13:37:33 +0000 (15:37 +0200)
committerColin Guthrie <colin@mageia.org>
Mon, 3 Nov 2014 12:32:23 +0000 (12:32 +0000)
commit7276faca72e9696d4891daff139aee52509f43bf
tree4fcedcd84953709fa3a195629551ab441cd6d3e6
parente542e810041efef6497597ee55b4c7d5c349ba3e
launch: Disable autospawn by default when systemd daemon support is enabled.

When enabled, this method is prefered over pulseaudio's built in
systems so we should try our best to ensure that it cannot be spawned
outside of the mechanisms desired.

Packagers should call 'systemctl --global enable pulseaudio.socket' to
enable the socket for all users, or alternatively ship an enabling
symlink in /usr/lib/systemd/user/sockets.target.wants/ folder. It may
also make sense for distributions to add in a ConditionNNN= line to the
socket unit if they have a downstream mechanism for enabling or
disabling pulseaudio.

If individual users wish to opt out of this vendor (or administrator)
decision, they can call 'systemctl --user mask pulseaudio.socket'
configure.ac
man/pulse-client.conf.5.xml.in
src/pulse/client-conf.c
src/pulse/client.conf.in