[systemd-devel] Set environment variable system-wide
Daniel Drake
dsd at laptop.org
Mon Aug 6 14:17:19 PDT 2012
On Mon, Aug 6, 2012 at 3:09 PM, Kay Sievers <kay at vrfy.org> 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 use cases wrong to use anything like that isn't
> broken unix legacy that expects it that way.
I'm having trouble parsing that sentence. In this case I'm looking for
a clean way to set PYTHONOPTIMIZE system wide (to enable Python's
optimized bytecode usage).
Daniel
More information about the systemd-devel
mailing list