293 |
|
|
294 |
Util_monitorUnset(s); |
Util_monitorUnset(s); |
295 |
|
|
|
if(s->type==TYPE_PROCESS) { |
|
|
/* Reset the info object in case of a later restart */ |
|
|
Util_resetInfo(s); |
|
|
} |
|
|
|
|
296 |
if(s->stop && (s->type!=TYPE_PROCESS || Util_isProcessRunning(s))) { |
if(s->stop && (s->type!=TYPE_PROCESS || Util_isProcessRunning(s))) { |
297 |
log("'%s' stop: %s\n", s->name, s->stop->arg[0]); |
log("'%s' stop: %s\n", s->name, s->stop->arg[0]); |
298 |
spawn(s, s->stop, "Stopped"); |
spawn(s, s->stop, "Stopped"); |
356 |
|
|
357 |
Util_monitorUnset(s); |
Util_monitorUnset(s); |
358 |
|
|
|
if(s->type==TYPE_PROCESS) { |
|
|
/* Reset the info object in case of a later restart */ |
|
|
Util_resetInfo(s); |
|
|
} |
|
|
|
|
359 |
} |
} |
360 |
|
|
361 |
|
|