[pulseaudio-discuss] how to Start a pulseaudio application as a daemon with systemd
Tanu Kaskinen
tanuk at iki.fi
Mon Jan 7 17:17:30 UTC 2019
On Thu, 2019-01-03 at 15:45 +0100, NicoHood wrote:
> 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)
Creating the systemd service file is unlikely to become the highest
priority item at least for me in the foreseeable future. However, if
you submit a patch (testing first that it works), I will review it.
--
Tanu
https://www.patreon.com/tanuk
https://liberapay.com/tanuk
More information about the pulseaudio-discuss
mailing list