File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
6666 tar -xf prometheus-${RELEASE} .linux-amd64.tar.gz
6767 cd prometheus-${RELEASE} .linux-amd64
6868 cp -rf prometheus promtool /usr/local/bin/
69- cp -rf consoles/ console_libraries/ /etc/prometheus/
7069 cd ~
7170 rm -rf prometheus-${RELEASE} .linux-amd64 prometheus-${RELEASE} .linux-amd64.tar.gz
7271 echo " ${RELEASE} " > /opt/${APP} _version.txt
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ wget -q https://github.com/prometheus/prometheus/releases/download/v${RELEASE}/p
2727tar -xf prometheus-${RELEASE} .linux-amd64.tar.gz
2828cd prometheus-${RELEASE} .linux-amd64
2929mv prometheus promtool /usr/local/bin/
30- mv consoles/ console_libraries/ /etc/prometheus/
3130mv prometheus.yml /etc/prometheus/prometheus.yml
3231echo " ${RELEASE} " > /opt/${APPLICATION} _version.txt
3332msg_ok " Installed Prometheus"
@@ -46,8 +45,6 @@ Type=simple
4645ExecStart=/usr/local/bin/prometheus \
4746 --config.file=/etc/prometheus/prometheus.yml \
4847 --storage.tsdb.path=/var/lib/prometheus/ \
49- --web.console.templates=/etc/prometheus/consoles \
50- --web.console.libraries=/etc/prometheus/console_libraries \
5148 --web.listen-address=0.0.0.0:9090
5249
5350[Install]
You can’t perform that action at this time.
0 commit comments