500 |
|
|
501 |
ASSERT(s); |
ASSERT(s); |
502 |
|
|
503 |
printf("%-21s = %s\n", tasknames[s->task], s->name); |
printf("%-21s = %s\n", servicenames[s->type], s->name); |
504 |
printf(" %-20s = %s\n", "Group", is_str_defined(s->group)); |
printf(" %-20s = %s\n", "Group", is_str_defined(s->group)); |
505 |
if(s->task == TASK_PROCESS) |
if(s->type == TYPE_PROCESS) |
506 |
printf(" %-20s = %s\n", "Pid file", s->path); |
printf(" %-20s = %s\n", "Pid file", s->path); |
507 |
else |
else |
508 |
printf(" %-20s = %s\n", "Path", s->path); |
printf(" %-20s = %s\n", "Path", s->path); |