diff options
Diffstat (limited to 'platform/src/proxy.cpp')
| -rw-r--r-- | platform/src/proxy.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp index b8d89c9..45d6a1d 100644 --- a/platform/src/proxy.cpp +++ b/platform/src/proxy.cpp @@ -54,6 +54,7 @@ #include <key_keeper.h> #include <watchdog_3rd_device.h> #include <timestamp.h> +#include <http_healthcheck.h> /* Breakpad */ #include <MESA/breakpad_mini.h> @@ -717,6 +718,8 @@ int main(int argc, char * argv[]) TFE_LOG_ERROR(g_default_logger, "Tango Frontend Engine initialized, Version: %s.", __tfe_version); + http_healthcheck_server_start(main_profile); + /* If TFE is run by systemd's notify, then tell the systemd our tfe is ready. * and disable the stderr log, only print logs into files */ if(check_is_started_by_notify()) @@ -729,6 +732,9 @@ int main(int argc, char * argv[]) worker_thread_ready = 1; event_base_dispatch(g_default_proxy->evbase); + + http_healthcheck_server_stop(); + return 0; } |
