]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.exec.xml
core: add new UnsetEnvironment= setting for unit files
authorLennart Poettering <lennart@poettering.net>
Sun, 10 Sep 2017 10:16:44 +0000 (12:16 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 14 Sep 2017 13:17:40 +0000 (15:17 +0200)
commit00819cc15124addfa2c0d8a5d13ad3eebd009d60
treea8b8b847cb89145015bb4aa32f2802dc691b54d6
parentdbbf424c8b77c1649e822c20c0b1fee1d2cfd93d
core: add new UnsetEnvironment= setting for unit files

With this setting we can explicitly unset specific variables for
processes of a unit, as last step of assembling the environment block
for them. This is useful to fix #6407.

While we are at it, greatly expand the documentation on how the
environment block for forked off processes is assembled.
man/systemd.exec.xml
src/core/dbus-execute.c
src/core/execute.c
src/core/execute.h
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/core/load-fragment.h
src/shared/bus-unit-util.c