summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-01 22:09:03 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-01 22:09:03 +0200
commit03d6ab854e2c20d2492df2a1dfd010db2be1dd5c (patch)
tree0037b690ce9b69786e2377cf59c7307c21fbcc61
parent24e61ac49db6add10ffa448f42202245fb883b96 (diff)
service: show service type when dumping state
-rw-r--r--service.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/service.c b/service.c
index 8018bd847c..be23b57c49 100644
--- a/service.c
+++ b/service.c
@@ -612,11 +612,13 @@ static void service_dump(Unit *u, FILE *f, const char *prefix) {
"%sService State: %s\n"
"%sPermissionsStartOnly: %s\n"
"%sRootDirectoryStartOnly: %s\n"
- "%sValidNoProcess: %s\n",
+ "%sValidNoProcess: %s\n"
+ "%sType: %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, yes_no(s->valid_no_process),
+ prefix, service_type_to_string(s->type));
if (s->pid_file)
fprintf(f,