diff --git a/src/core/unit-serialize.c b/src/core/unit-serialize.c index 8baa30f9e5f..f96bae19f9e 100644 --- a/src/core/unit-serialize.c +++ b/src/core/unit-serialize.c @@ -101,6 +101,8 @@ int unit_serialize_state(Unit *u, FILE *f, FDSet *fds, bool switching_root) { (void) serialize_bool(f, "transient", u->transient); (void) serialize_bool(f, "in-audit", u->in_audit); + (void) serialize_bool(f, "debug-invocation", u->debug_invocation); + (void) serialize_bool(f, "exported-invocation-id", u->exported_invocation_id); (void) serialize_bool(f, "exported-log-level-max", u->exported_log_level_max); (void) serialize_bool(f, "exported-log-extra-fields", u->exported_log_extra_fields); @@ -265,6 +267,9 @@ int unit_deserialize_state(Unit *u, FILE *f, FDSet *fds) { else if (MATCH_DESERIALIZE("in-audit", l, v, parse_boolean, u->in_audit)) continue; + else if (MATCH_DESERIALIZE("debug-invocation", l, v, parse_boolean, u->debug_invocation)) + continue; + else if (MATCH_DESERIALIZE("exported-invocation-id", l, v, parse_boolean, u->exported_invocation_id)) continue;