diff --git a/service.c b/service.c index e5700968..16cadef8 100644 --- a/service.c +++ b/service.c @@ -399,13 +399,13 @@ static int service_stop_done(svc_t *svc) if (svc && dyn_stop_cnt) dyn_stop_cnt--; + _d("dyn_stop_cnt %d", dyn_stop_cnt); if (!dyn_stop_cnt) { _d("All disabled/removed services have been stoppped, calling reconf hooks ..."); plugin_run_hooks(HOOK_SVC_RECONF); /* Reconfigure HW/VLANs/etc here */ /* Finish off by starting/reload modified/new services */ - if (svc && svc->state == SVC_RELOAD_STATE) - service_start_dynamic(); + service_start_dynamic(); } return 1;