X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fmain.c;h=c05556dd25e25cdccb9f2645ba1d9e94b737fa9b;hb=b8c9d5de384efcfa53ebdb3f0053d7b3723777e1;hp=b8bad9458faceaa54010ac874d946c164a737249;hpb=32644e4d8f5413220b6393577ff4790225da6133;p=src%2Fapp-framework-binder.git diff --git a/src/main.c b/src/main.c index b8bad945..c05556dd 100644 --- a/src/main.c +++ b/src/main.c @@ -54,6 +54,7 @@ #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 @@ -571,6 +572,10 @@ static void start(int signum, void *arg) ERROR("failed to setup monitor"); goto error; } + if (afb_supervision_init() < 0) { + ERROR("failed to setup supervision"); + goto error; + } /* install hooks */ if (config->tracereq)