1
0
Fork 0
mirror of https://github.com/eosswedenorg/haproxy-exporter-systemd synced 2026-06-16 05:04:56 +02:00

install.sh: only show progress bar for wget.

This commit is contained in:
Henrik Hautakoski 2018-12-08 16:19:31 +01:00
parent 3ca0d22ed1
commit 137d80eebc

View file

@ -5,8 +5,10 @@ VERSION=0.9.0
INSTALLDIR=/usr/local/bin
CONFIGDIR=/etc/prometheus
SRC_URL=https://github.com/prometheus/haproxy_exporter/releases/download/v${VERSION}/haproxy_exporter-${VERSION}.linux-${ARCH}.tar.gz
# Download and install the binary.
wget -O- https://github.com/prometheus/haproxy_exporter/releases/download/v${VERSION}/haproxy_exporter-${VERSION}.linux-${ARCH}.tar.gz | tar zxf -
wget -q --show-progress -O- ${SRC_URL} | tar zxf -
sudo mv haproxy_exporter-${VERSION}.linux-${ARCH}/haproxy_exporter ${INSTALLDIR}/haproxy_exporter-${VERSION}
# Create User/Group