]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/strv.c
core: rework how transient unit files and property drop-ins work
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Apr 2016 13:43:59 +0000 (15:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 12 Apr 2016 11:43:32 +0000 (13:43 +0200)
commit4f4afc88ecd8ab9cfe9e1eeea7e3aeb937811937
treeb6463bfed0cbe018a0eae715b28f539fbff848b6
parent80b1ae32e1cab924086bb5224cde675df623df07
core: rework how transient unit files and property drop-ins work

With this change the logic for placing transient unit files and drop-ins
generated via "systemctl set-property" is reworked.

The latter are now placed in the newly introduced "control" unit file
directory. The fomer are now placed in the "transient" unit file directory.

Note that the properties originally set when a transient unit was created will
be written to and stay in the transient unit file directory, while later
changes are done via drop-ins.

This is preparation for a later "systemctl revert" addition, where existing
drop-ins are flushed out, but the original transient definition is restored.
src/basic/strv.c
src/basic/strv.h
src/core/scope.c
src/core/slice.c
src/core/unit.c
src/core/unit.h