From 07895a7c2347f0c784c9855ee93acc3565af9e90 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 3 Sep 2024 19:59:28 -0400 Subject: [PATCH] Update prometheus-install.sh Add `version.txt` --- install/prometheus-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/prometheus-install.sh b/install/prometheus-install.sh index 7f939a42..33a0a37e 100644 --- a/install/prometheus-install.sh +++ b/install/prometheus-install.sh @@ -29,6 +29,7 @@ cd prometheus-${RELEASE}.linux-amd64 mv prometheus promtool /usr/local/bin/ mv consoles/ console_libraries/ /etc/prometheus/ mv prometheus.yml /etc/prometheus/prometheus.yml +echo "${RELEASE}" >/opt/${APPLICATION}_version.txt msg_ok "Installed Prometheus" msg_info "Creating Service"