Re: [systemd-devel] Set environment variable system-wide

2012-08-08 Thread Daniel Drake
On Wed, Aug 8, 2012 at 10:56 AM, Lennart Poettering wrote: > I don't think anything can be considered "clean" if it involves setting > system-wide env vars. There must be another way to teach Python > optimization system-wide... I have yet to find the other way that you mention. Anyway, I can agr

Re: [systemd-devel] Set environment variable system-wide

2012-08-08 Thread Lennart Poettering
On Mon, 06.08.12 15:17, Daniel Drake ([email protected]) wrote: > > On Mon, Aug 6, 2012 at 3:09 PM, Kay Sievers wrote: > > systemctl set-environment ... ? > > Maybe thats what I read about. > > In this case I'm looking to set it in early boot though, so that it > affects all spawned processes fr

Re: [systemd-devel] Set environment variable system-wide

2012-08-06 Thread Lennart Poettering
On Mon, 06.08.12 23:09, Kay Sievers ([email protected]) wrote: > > On Mon, Aug 6, 2012 at 10:49 PM, Daniel Drake wrote: > > Hi, > > > > I thought I read somewhere that systemd offers a mechanism to set an > > environment variable system-wide - i.e. the variable assignment will > > be present in all

Re: [systemd-devel] Set environment variable system-wide

2012-08-06 Thread Daniel Drake
On Mon, Aug 6, 2012 at 3:09 PM, Kay Sievers wrote: > systemctl set-environment ... ? Maybe thats what I read about. In this case I'm looking to set it in early boot though, so that it affects all spawned processes from the very start. Is there a nice way of doing this? > But it's in almost all

Re: [systemd-devel] Set environment variable system-wide

2012-08-06 Thread Kay Sievers
On Mon, Aug 6, 2012 at 10:49 PM, Daniel Drake wrote: > Hi, > > I thought I read somewhere that systemd offers a mechanism to set an > environment variable system-wide - i.e. the variable assignment will > be present in all the processes started by systemd. > > But I can't find where I read this, o

[systemd-devel] Set environment variable system-wide

2012-08-06 Thread Daniel Drake
Hi, I thought I read somewhere that systemd offers a mechanism to set an environment variable system-wide - i.e. the variable assignment will be present in all the processes started by systemd. But I can't find where I read this, or how to use it. Does this functionality exist or am I getting co