chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:57 +0000 (10:12 +0200)
commitf446ee404a6f2b58dbbf1c065595bd9c1daaf027
treef633675b37eb588eeef04a49e5507aad4f2181d1
parent08ac0f0c1c37c805b2d08d370484d9008b0d0d5b
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