Add folder creation

This commit is contained in:
Fabian Stamm 2020-04-25 19:22:46 +02:00
parent 7b13e7e32e
commit 2e93bbd597

View File

@ -17,6 +17,8 @@ if service --status-all | grep -Fq 'node_exporter'; then
service node_exporter stop service node_exporter stop
fi fi
mkdir -p /usr/prometheus
cp $SCRIPTPATH/node_exporter /usr/prometheus/node_exporter cp $SCRIPTPATH/node_exporter /usr/prometheus/node_exporter
chmod +x /usr/prometheus/node_exporter chmod +x /usr/prometheus/node_exporter