diff options
author | Luca Boccassi <bluca@debian.org> | 2022-08-02 19:49:20 +0100 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2022-08-23 20:38:08 +0100 |
commit | 48b92b37acbd2bf9c36ac5e67961b15723243cda (patch) | |
tree | c9264b37c5d949b8e35d8219fb3eac426cf16f54 /src/core/dbus-unit.c | |
parent | f52faaf923acfe6fe3f0955d1ad66840b13babfc (diff) | |
download | systemd-48b92b37acbd2bf9c36ac5e67961b15723243cda.tar.gz |
core: add basic infrastructure to record unit activation information
Not wired in by any unit type yet, just the basic to allocate,
ref, deref and plug in to other unit types.
Includes recording the trigger unit name and passing it to the
triggered unit as TRIGGER_UNIT= env var.
Diffstat (limited to 'src/core/dbus-unit.c')
-rw-r--r-- | src/core/dbus-unit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c index ee013e1bc5..7a16471758 100644 --- a/src/core/dbus-unit.c +++ b/src/core/dbus-unit.c @@ -951,6 +951,7 @@ const sd_bus_vtable bus_unit_vtable[] = { SD_BUS_PROPERTY("InvocationID", "ay", bus_property_get_id128, offsetof(Unit, invocation_id), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), SD_BUS_PROPERTY("CollectMode", "s", property_get_collect_mode, offsetof(Unit, collect_mode), SD_BUS_VTABLE_PROPERTY_CONST), SD_BUS_PROPERTY("Refs", "as", property_get_refs, 0, 0), + SD_BUS_PROPERTY("ActivationDetails", "a(ss)", bus_property_get_activation_details, offsetof(Unit, activation_details), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), SD_BUS_METHOD_WITH_ARGS("Start", SD_BUS_ARGS("s", mode), |