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:
parent
3ca0d22ed1
commit
137d80eebc
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue