The listening was already started later on in the same function. Also
in some cases it would have been started unnecessarily, like when service
was stopped or more processes were created immediately.
service = process->service;
if (status == 0) {
- /* success */
- if (service->listen_pending &&
- !service->list->destroying)
- service_monitor_listen_start(service);
- /* one success resets all failures */
+ /* success - one success resets all failures */
service->have_successful_exits = TRUE;
service->exit_failures_in_sec = 0;
service->throttle_secs =