init: Let's not forget to unhook our notifiers
All checks were successful
Build and test / build (push) Successful in 1m42s
All checks were successful
Build and test / build (push) Successful in 1m42s
This commit is contained in:
parent
7761a8a41f
commit
6fc49a0be5
@ -143,6 +143,7 @@ static Result<void> try_start_service(Service& service)
|
|||||||
{
|
{
|
||||||
if (service.wait_notify) { notifier.hook(); }
|
if (service.wait_notify) { notifier.hook(); }
|
||||||
auto rc = service_child(service, new_stdout, new_stderr, new_stdin);
|
auto rc = service_child(service, new_stdout, new_stderr, new_stdin);
|
||||||
|
if (service.wait_notify) { notifier.unhook(); }
|
||||||
if (rc.has_error())
|
if (rc.has_error())
|
||||||
{
|
{
|
||||||
do_errlog("[child %d] failed to start service %s due to error: %s\n", getpid(), service.name.chars(),
|
do_errlog("[child %d] failed to start service %s due to error: %s\n", getpid(), service.name.chars(),
|
||||||
|
Loading…
Reference in New Issue
Block a user