[pulseaudio-discuss] [PATCH 6/8] launch: Add systemd units for launching pulseaudio user instances

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Wed Nov 19 05:46:45 PST 2014


On Tue, 2014-11-11 at 12:34 -0300, Felipe Sateler wrote:
> On Tue, Nov 11, 2014 at 12:12 PM, Tanu Kaskinen
> <tanu.kaskinen at linux.intel.com> wrote:
> > On Mon, 2014-11-10 at 16:55 +0000, Colin Guthrie wrote:
> >> Tanu Kaskinen wrote on 10/11/14 16:29:
> >> > Are you sure installing to /usr/local/lib/systemd/user doesn't work? To
> >> > me path-lookup.c looks like it includes /usr/local/lib/systemd/user in
> >> > the unit search paths.
> >>
> >> Hmm, yeah looks like it. It's not documented in the documentation tho',
> >> (I was looking through through "man systemd.unit" which describes all
> >> the paths) and I've not not seen this behaviour in other projects that
> >> support this pkgconfig stuff (and I've seen a fair few when packaging
> >> stuff downstream), so with combined with the fact that this is how
> >> pretty much everything else does things and the fact that the udev rules
> >> already work like this, I don't really fancy introducing something off
> >> the beaten path here, but if you do feel strongly, I can certainly look
> >> into it.
> >
> > I'll write a documentation patch for systemd, and if it gets accepted,
> > then we could install under /usr/local?
> 
> That should probably be ${prefix}/systemd/user ? So that downstream
> distributors just have to set --prefix correctly.

Yes, that's the idea.

-- 
Tanu



More information about the pulseaudio-discuss mailing list