/[monit]/monit/util.c
ViewVC logotype

Diff of /monit/util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.74 by martinp, Sun Aug 3 19:19:39 2003 UTC revision 1.75 by martinp, Wed Aug 6 13:10:51 2003 UTC
# Line 500  void printservice(Service_T s) { Line 500  void printservice(Service_T s) {
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);

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26