Tweak: Patch Prometheus for v.3.0.0 (#94) @nicholaswilde

* fix: remove cp -rf consoles/ console_libraries/ /etc/prometheus/

Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>

* fix: remove mv console

Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>

* fix: remove console from ExecStart

Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>

---------

Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
This commit is contained in:
nιcнolaѕ wιlde
2024-12-08 19:09:51 -08:00
committed by GitHub
parent 35eefd7680
commit 33e7fcf048
2 changed files with 0 additions and 4 deletions

View File

@@ -29,7 +29,6 @@ wget -q https://github.com/prometheus/prometheus/releases/download/v${RELEASE}/p
tar -xf prometheus-${RELEASE}.linux-arm64.tar.gz
cd prometheus-${RELEASE}.linux-arm64
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"
@@ -48,8 +47,6 @@ Type=simple
ExecStart=/usr/local/bin/prometheus \
--config.file=/etc/prometheus/prometheus.yml \
--storage.tsdb.path=/var/lib/prometheus/ \
--web.console.templates=/etc/prometheus/consoles \
--web.console.libraries=/etc/prometheus/console_libraries \
--web.listen-address=0.0.0.0:9090
[Install]