From: Lennart Poettering Date: Mon, 9 Aug 2010 15:03:46 +0000 (+0200) Subject: service: show restart value in dump X-Git-Tag: v7~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cf3143ac3650feff2e3069d6d02bb8e46ab1929;p=systemd service: show restart value in dump --- diff --git a/src/service.c b/src/service.c index ee1da2a7..fce1b27a 100644 --- a/src/service.c +++ b/src/service.c @@ -952,12 +952,14 @@ static void service_dump(Unit *u, FILE *f, const char *prefix) { "%sRootDirectoryStartOnly: %s\n" "%sValidNoProcess: %s\n" "%sType: %s\n" + "%sRestart: %s\n" "%sNotifyAccess: %s\n", prefix, service_state_to_string(s->state), prefix, yes_no(s->permissions_start_only), prefix, yes_no(s->root_directory_start_only), prefix, yes_no(s->valid_no_process), prefix, service_type_to_string(s->type), + prefix, service_restart_to_string(s->restart), prefix, notify_access_to_string(s->notify_access)); if (s->control_pid > 0)