Fix some bug

This commit is contained in:
Fabian Stamm 2020-04-25 19:21:34 +02:00
parent ccb446eec5
commit 7b13e7e32e

View File

@ -17,7 +17,7 @@ if service --status-all | grep -Fq 'node_exporter'; then
service node_exporter stop
fi
cp node_exporter /usr/prometheus/node_exporter
cp $SCRIPTPATH/node_exporter /usr/prometheus/node_exporter
chmod +x /usr/prometheus/node_exporter
cp $SCRIPTPATH/node_exporter.service /etc/systemd/system/
@ -31,4 +31,4 @@ else
fi
systemctl enable node_exporter.service
systemd start node_exporter
service node_exporter start