]> err.no Git - systemd/commit
unit: unit type dependent status messages
authorMichal Schmidt <mschmidt@redhat.com>
Sun, 13 May 2012 16:18:54 +0000 (18:18 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 14 May 2012 12:29:53 +0000 (14:29 +0200)
commitc69182961b00707d977957cf81d5c41cfbeab429
tree0fea4038b59b5c82f71686c0ca50d118da983699
parent9ab7a8d2a30f440c008d127113419030e4572cb4
unit: unit type dependent status messages

Instead of generic "Starting..." and "Started" messages for all unit use
type-dependent messages. For example, mounts will announce "Mounting..."
and "Mounted".

Add status messages to units of types that used to be entirely silent
(automounts, sockets, targets, devices). For unit types whose jobs are
instantaneous, report only the job completion, not the starting event.
Socket units with non-instantaneous jobs are rare (Exec*= is not used
often in socket units), so I chose not to print the starting messages
for them either.

This will hopefully give people better understanding of the boot.
src/core/automount.c
src/core/device.c
src/core/job.c
src/core/job.h
src/core/mount.c
src/core/service.c
src/core/socket.c
src/core/swap.c
src/core/target.c
src/core/unit.c
src/core/unit.h