From 5dc22bc440b4c551681ad60c2509ac8542348504 Mon Sep 17 00:00:00 2001 From: Nathan Ellsworth <35043496+42Network@users.noreply.github.com> Date: Wed, 20 Jul 2022 00:20:21 -0500 Subject: [PATCH] Update run Change web.console.libraries and web.console.templates to /etc instead of /usr/share --- prometheus/rootfs/etc/services.d/prometheus/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prometheus/rootfs/etc/services.d/prometheus/run b/prometheus/rootfs/etc/services.d/prometheus/run index 19c8174..62f23ac 100755 --- a/prometheus/rootfs/etc/services.d/prometheus/run +++ b/prometheus/rootfs/etc/services.d/prometheus/run @@ -12,8 +12,8 @@ bashio::log.info 'Starting prometheus...' options+=(--config.file="/etc/prometheus/prometheus.yml" ) options+=(--storage.tsdb.path="/data/prometheus" ) -options+=(--web.console.libraries="/usr/share/prometheus/console_libraries" ) -options+=(--web.console.templates="/usr/share/prometheus/consoles" ) +options+=(--web.console.libraries="/etc/prometheus/console_libraries" ) +options+=(--web.console.templates="/etc/prometheus/consoles" ) options+=(--web.route-prefix="/" ) options+=(--web.external-url="http://localhost:9090$(bashio::addon.ingress_entry)/" ) options+=(--web.enable-lifecycle )