[pulseaudio-discuss] how to Start a pulseaudio application as a daemon with systemd

NicoHood pulseaudio-discuss at nicohood.de
Thu Jan 3 14:45:20 UTC 2019

On 5/21/18 11:54 AM, Tanu Kaskinen wrote:
> On Sun, 2018-05-20 at 16:16 +0200, Christophe Lohr wrote:
>> Le 20/05/2018 à 13:28, Tanu Kaskinen a écrit :
>>> But what I think you should do is
>>> disabling the pulseaudio user service in systemd, using the command
>>> that I already gave:
>>>     sudo systemctl --global disable pulseaudio.socket pulseaudio.service
>>> If you are using pulseaudio in the system-wide mode, you don't want
>>> systemd starting user instances as well.
>> done! ;-)
>> Many thanks for your guidance.
>> The wiki page about "pulseaudio as system-wide" may be extended with 
>> systemd materials ;-)
>> <https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/>
>> ... how to write a new  pulseaudio.service,  how to enable it, how to
>> disable user service, etc.
> Rather than just document how to write pulseaudio.service for the
> system mode, we should provide and install that by default (but not
> enable). 
> Regarding disabling the user services - yeah, I'll add that to the wiki
> page. Thanks for pointing that out!

Could you please provide a systemd service for system mode? I found
serveral online, but opinions about their correctness differ. It would
be best, if the official pulse team can give out a systemd service file.
Even if it is just in the documentation, and not the package. But
package would be better though.

(If it was already posted in the email list, I was unable to find it)


More information about the pulseaudio-discuss mailing list