summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-09 17:03:46 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-09 17:07:05 +0200
commit2cf3143ac3650feff2e3069d6d02bb8e46ab1929 (patch)
tree25eb7be2a484329c2b724c0f7622102e01d3227b
parent04ade7d215ce05f1ac2bd33a8d6126f6994168fa (diff)
service: show restart value in dump
-rw-r--r--src/service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index ee1da2a7b..fce1b27ac 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)