summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 774a5f0e..3fb7fc1b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -374,13 +374,14 @@ int main(int argc, char *argv[])
exit(1);
}
- afb_session_init(config->nbSessionMax, config->cntxTimeout, config->token, afb_apis_count());
-
afb_api_so_set_timeout(config->apiTimeout);
start_list(config->dbus_clients, afb_api_dbus_add_client, "the afb-dbus client");
start_list(config->ws_clients, afb_api_ws_add_client, "the afb-websocket client");
start_list(config->ldpaths, afb_api_so_add_pathset, "the binding path set");
start_list(config->so_bindings, afb_api_so_add_binding, "the binding");
+
+ afb_session_init(config->nbSessionMax, config->cntxTimeout, config->token, afb_apis_count());
+
start_list(config->dbus_servers, afb_api_dbus_add_server, "the afb-dbus service");
start_list(config->ws_servers, afb_api_ws_add_server, "the afb-websocket service");