summaryrefslogtreecommitdiff
path: root/servicecmd/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'servicecmd/list.c')
-rw-r--r--servicecmd/list.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/servicecmd/list.c b/servicecmd/list.c
index 73e1aae..18b043f 100644
--- a/servicecmd/list.c
+++ b/servicecmd/list.c
@@ -29,6 +29,9 @@ static void print_services(service_t *svc)
printf("\tType: %s\n", svc_type_to_string(svc->type));
printf("\tTarget: %s\n", svc_target_to_string(svc->target));
+ if (svc->type == SVC_RESPAWN && svc->rspwn_limit > 0)
+ printf("\tRespawn limit: %d\n", svc->rspwn_limit);
+
if (svc->num_before) {
fputs("\tMust be run before:\n", stdout);