How to Run PulseAudio as a Service via systemd for Root User?

Hi @ferranmc !

From the default Pulseaudio recipe (from OpenEmbedded), seems like it it already equipped with a pulseaudio.service.

Which comes from:

Isn’t it working for you?

And, as we can see here, there is the condition to not be executed as root, since it is not recommended.

Do I guess correctly that you want to execute it as root because of the script shared on Experiencing Stuttering and Audio Interruptions in Bluetooth Calls with Pulseaudio - #23 by bruno.tx (which is in Pulseaudio and module-echo-cancel YOCTO recipe - #15 by bruno.tx)?

Best regards,