Update prometheus-install.sh
Add `version.txt`
This commit is contained in:
parent
103ac46a9f
commit
07895a7c23
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue