[systemd-devel] [PATCHv2] man: Add a note about what environment variables are available by default.
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Thu Sep 12 06:32:12 PDT 2013
On Fri, Jul 26, 2013 at 11:24:44AM +0100, Colin Guthrie wrote:
> + <para>All processes are executed in a clean environment in
> + which only the TERM, PATH, USER, and HOME variables are
> + inherited (from PID1) by default. In order to set additional
> + variables, see the Environment= and EnvironmentFile= options
> + below. To specify variables globally, you can configure
> + DefaultEnvironment= in
> + <citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
Hi,
I pushed something like this now, but with completely different text,
since variables exported have changed significantly, and in addition
the behaviour for PID 1 and user instances is significantly different.
Zbyszek
More information about the systemd-devel
mailing list