1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

manager: be more precise in message about restart

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-02-13 17:10:12 -05:00
parent 0ef61cec61
commit ef417cfd22
2 changed files with 9 additions and 3 deletions

7
TODO
View File

@ -72,8 +72,11 @@ Features:
desktop UIs such as gnome-shell to freeze apps that are not visible desktop UIs such as gnome-shell to freeze apps that are not visible
on screen, not unlike how job control works on the shell on screen, not unlike how job control works on the shell
* machinectl bash completion is missing * completions:
* busctl bash and zsh completions are outdated - busctl zsh completion is outdated
- systemd-nspawn -Z/-L/-q is missing for zsh
- systemd-nspawn completion is missing for bash
- manager property enumeration was broken when systemd moved to /usr/lib/
* cgroups: * cgroups:
- implement system-wide DefaultCPUAccounting=1 switch (and similar for blockio, memory?) - implement system-wide DefaultCPUAccounting=1 switch (and similar for blockio, memory?)

View File

@ -3308,7 +3308,10 @@ static int service_dispatch_timer(sd_event_source *source, usec_t usec, void *us
case SERVICE_AUTO_RESTART: case SERVICE_AUTO_RESTART:
log_info_unit(UNIT(s)->id, log_info_unit(UNIT(s)->id,
"%s holdoff time over, scheduling restart.", UNIT(s)->id); s->restart_usec > 0 ?
"%s holdoff time over, scheduling restart." :
"%s has no holdoff time, scheduling restart.",
UNIT(s)->id);
service_enter_restart(s); service_enter_restart(s);
break; break;