X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fmain.c;h=f1ebd969ac2b751175b6dac490374cef4156d933;hb=e2c431bcda7f057b4767c3e8142b9e0ca0d32bc6;hp=4ae8af5e7d7a296319ddefe89d13454421435cf9;hpb=7cd20a135f6d2df212fb6aefdc3ee0a6949a740d;p=src%2Fapp-framework-binder.git diff --git a/src/main.c b/src/main.c index 4ae8af5e..f1ebd969 100644 --- a/src/main.c +++ b/src/main.c @@ -30,6 +30,8 @@ #include #include +#include + #include "afb-config.h" #include "afb-hswitch.h" #include "afb-apis.h" @@ -45,8 +47,7 @@ #include "verbose.h" #include "afb-common.h" #include "afb-hook.h" - -#include +#include "sd-fds.h" /* if SELF_PGROUP == 0 the launched command is the group leader @@ -359,6 +360,8 @@ int main(int argc, char *argv[]) LOGAUTH("afb-daemon"); + sd_fds_init(); + // ------------- Build session handler & init config ------- config = afb_config_parse_arguments(argc, argv); atexit(exit_handler);