#include "sd-fds.h"
#include "afb-debug.h"
#include "process-name.h"
+#include "afb-supervision.h"
/*
if SELF_PGROUP == 0 the launched command is the group leader
ERROR("failed to setup monitor");
goto error;
}
+ if (afb_supervision_init() < 0) {
+ ERROR("failed to setup supervision");
+ goto error;
+ }
/* install hooks */
if (config->tracereq)