Update prometheus-install.sh

Add `version.txt`
This commit is contained in:
tteckster 2024-09-03 19:59:28 -04:00 committed by GitHub
parent 103ac46a9f
commit 07895a7c23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,6 +29,7 @@ cd prometheus-${RELEASE}.linux-amd64
mv prometheus promtool /usr/local/bin/ mv prometheus promtool /usr/local/bin/
mv consoles/ console_libraries/ /etc/prometheus/ mv consoles/ console_libraries/ /etc/prometheus/
mv prometheus.yml /etc/prometheus/prometheus.yml mv prometheus.yml /etc/prometheus/prometheus.yml
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Installed Prometheus" msg_ok "Installed Prometheus"
msg_info "Creating Service" msg_info "Creating Service"