On Fri, 18 Apr 2014 18:14:35 -0300 Felipe Sateler <fsate...@debian.org> wrote:
> Control: tags -1 wontfix
> 
> Hi Joss, waynr,
> 
> On Sat, Apr 16, 2011 at 02:24:06PM +0200, Josselin Mouette wrote:
> >
> > ...
> > 
> > The fix is simple: change the default client.conf to set autospawn=no.
> 
> Unfortunately this doesn't seem very viable. If the pulseaudio daemon
> stops for any reason (a bug?), then the daemon will not be restarted,
> leaving the user with a possibly broken audio system.
> 
> Unless we have a way to ensure that the daemon will be restarted if it
> crashes, then I don't see how disabling autospawn actually improves
> things.

It seems that the pulseaudio package 7+ includes a systemd user unit. I
installed the package from backports, disabled XDG autostart, and
enabled the systemd service:

  $ ln -s /dev/null ~/.config/autostart/pulseaudio.desktop
  $ systemctl --user enable pulseaudio

Logging out and back in again spawned the service as expected.

By doing this we could disable autospawn by default and rely on systemd
to handle the pulseaudio service.

Any thoughts on this solution?

-- 
Regards,
Scott.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pkg-pulseaudio-devel mailing list
pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel

Reply via email to