]> err.no Git - systemd/commitdiff
service: show restart value in dump
authorLennart Poettering <lennart@poettering.net>
Mon, 9 Aug 2010 15:03:46 +0000 (17:03 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 9 Aug 2010 15:07:05 +0000 (17:07 +0200)
src/service.c

index ee1da2a7b32bcb1d746e3e36a28f0eedd69815ea..fce1b27aca64f2018a9a6eeeea0225d806cb0254 100644 (file)
@@ -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)