Simplify readiness handling for s6 style services
No need for special handling of s6 services, we now have the new
service_notify_reconf() function that is called on init reload.
@@ -2152,9 +2152,6 @@ void service_ready(svc_t *svc)
return;
snprintf(buf, sizeof(buf), "service/%s/ready", svc_ident(svc, NULL, 0));
- if (svc->notify == 2)
- cond_set_oneshot(buf); /* exception for s6 */
- else
cond_set(buf);
if (svc_has_ready(svc))
@@ -2345,8 +2342,6 @@ restart:
svc_mark_clean(svc);
}
- if (svc->notify == 2 && svc->notify_watcher.fd == 0)
- service_ready(svc);
break;
}
break;
