Add folder creation
This commit is contained in:
parent
7b13e7e32e
commit
2e93bbd597
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user