forked from forkanization/Proxmox-arm64
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user