295 |
monitor_unset(s); |
monitor_unset(s); |
296 |
|
|
297 |
if(s->type==TYPE_PROCESS) { |
if(s->type==TYPE_PROCESS) { |
298 |
/* Reset the proc info object in case of a later restart */ |
/* Reset the info object in case of a later restart */ |
299 |
Util_resetProcInfo(s); |
Util_resetInfo(s); |
300 |
} |
} |
301 |
|
|
302 |
if(s->stop && (s->type!=TYPE_PROCESS || Util_isProcessRunning(s))) { |
if(s->stop && (s->type!=TYPE_PROCESS || Util_isProcessRunning(s))) { |
363 |
monitor_unset(s); |
monitor_unset(s); |
364 |
|
|
365 |
if(s->type==TYPE_PROCESS) { |
if(s->type==TYPE_PROCESS) { |
366 |
/* Reset the proc info object in case of a later restart */ |
/* Reset the info object in case of a later restart */ |
367 |
Util_resetProcInfo(s); |
Util_resetInfo(s); |
368 |
} |
} |
369 |
|
|
370 |
} |
} |