From: José Bollo Date: Sun, 27 Aug 2017 12:52:57 +0000 (+0200) Subject: monitoring: add default page index.html X-Git-Tag: eel/4.99.1~52 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=commitdiff_plain;h=bf631babdb4ac570bb4693cb8788dc6f4728e349 monitoring: add default page index.html This allows to acces monitoring interface using url HOST/monitoring/ when option --monitoring is set. Change-Id: If7dfc89e4c4db0d87ec5c8e74f9243691a3ec0e8 Signed-off-by: José Bollo --- diff --git a/src/afb-config.c b/src/afb-config.c index b11f8a10..f08081f5 100644 --- a/src/afb-config.c +++ b/src/afb-config.c @@ -171,7 +171,7 @@ static AFB_options cliOptions[] = { {SET_EXEC, 0, "exec", "Execute the remaining arguments"}, #if defined(WITH_MONITORING_OTPION) - {SET_MONITORING, 0, "monitoring", "enable HTTP monitoring at /monitoring/monitor.html"}, + {SET_MONITORING, 0, "monitoring", "enable HTTP monitoring at /monitoring/"}, #endif {0, 0, NULL, NULL} /* *INDENT-ON* */ diff --git a/test/monitoring/index.html b/test/monitoring/index.html new file mode 120000 index 00000000..fb6f3b77 --- /dev/null +++ b/test/monitoring/index.html @@ -0,0 +1 @@ +monitor.html \ No newline at end of file