Update prometheus-install.sh

Add `version.txt`
pull/3657/head
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
1 changed files with 1 additions and 0 deletions

View File

@ -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"