manager: add systemd.show_status=auto mode

System Internals / systemd - Zbigniew Jędrzejewski-Szmek [in.waw.pl] - 27 January 2014 22:17 UTC

When set to auto, status will shown when the first ephemeral message is shown (a job has been running for five seconds). Then until the boot or shutdown ends, status messages will be shown.

No indication about the switch is done: I think it should be clear for the user that first the cylon eye and the ephemeral messages appear, and afterwards messages are displayed.

The initial arming of the event source was still wrong, but now should really be fixed.

d450b6f manager: add systemd.show_status=auto mode
man/systemd.xml | 14 ++++++++++----
src/core/main.c | 36 ++++++++++++++++++++----------------
src/core/manager.c | 21 ++++++++++++++-------
src/core/manager.h | 5 +++--
src/shared/conf-parser.c | 29 +++++++++++++++++++++++++++++
src/shared/conf-parser.h | 1 +
src/shared/exit-status.c | 17 +++++++++++++++++
src/shared/exit-status.h | 12 ++++++++++++
8 files changed, 106 insertions(+), 29 deletions(-)

Upstream: github.com


  • Share