<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, May 29, 2015 at 3:04 PM, Belal, Awais <span dir="ltr"><<a href="mailto:Awais_Belal@mentor.com" target="_blank">Awais_Belal@mentor.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Martin,<br>
<br>
Thanks for the very quick reply :)<br>
So, are you saying that there is no guaranteed way in which PA can be enabled/disabled in a systemd based system?</blockquote><div><br></div><div>pulseaudio is <i>very rarely</i> run as a system service in the first place. Whether it's systemd-based or not is irrelevant.</div><div><br></div><div>Most often it's managed at session level, e.g. started during login by gnome-session, sometimes `systemctl --user`, but usually launched automatically by libpulse.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That too, if I want to keep the binary in so if a user needs he can enable/disable PA as per need. How can I disable PA in such a scenario?<br></blockquote><div><br></div><div>You could set "autospawn = no" in pulse-client.conf(5).</div><div><br></div></div>-- <br><div class="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>