yaz_log(YLOG_LOG, "Service %s to stop", global_sc->service_name);
sc_ReportSvcStatus(global_sc, SERVICE_STOP_PENDING, NO_ERROR, 0);
global_sc->sc_stop(global_sc);
sc_ReportSvcStatus(global_sc, SERVICE_STOPPED, NO_ERROR, 0);
return;
yaz_log(YLOG_LOG, "Service %s to stop", global_sc->service_name);
sc_ReportSvcStatus(global_sc, SERVICE_STOP_PENDING, NO_ERROR, 0);
global_sc->sc_stop(global_sc);
sc_ReportSvcStatus(global_sc, SERVICE_STOPPED, NO_ERROR, 0);
return;