diff options
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c index 71ef2a706d..2f8b92d3b5 100644 --- a/src/unit.c +++ b/src/unit.c @@ -1165,10 +1165,13 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns) { if (u->meta.type == UNIT_SERVICE && !UNIT_IS_ACTIVE_OR_RELOADING(os)) { /* Write audit record if we have just finished starting up */ - manager_send_unit_audit(u->meta.manager, u, AUDIT_SERVICE_START, 1); + manager_send_unit_audit(u->meta.manager, u, AUDIT_SERVICE_START, true); u->meta.in_audit = true; } + if (!UNIT_IS_ACTIVE_OR_RELOADING(os)) + manager_send_unit_plymouth(u->meta.manager, u); + } else { if (unit_has_name(u, SPECIAL_SYSLOG_SERVICE)) |