From 2e93bbd5973dc158f16ba221ce5a8b6bde688363 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Sat, 25 Apr 2020 19:22:46 +0200 Subject: [PATCH] Add folder creation --- exporter/node_exporter/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exporter/node_exporter/install.sh b/exporter/node_exporter/install.sh index f775dd0..875f673 100644 --- a/exporter/node_exporter/install.sh +++ b/exporter/node_exporter/install.sh @@ -17,6 +17,8 @@ if service --status-all | grep -Fq 'node_exporter'; then service node_exporter stop fi +mkdir -p /usr/prometheus + cp $SCRIPTPATH/node_exporter /usr/prometheus/node_exporter chmod +x /usr/prometheus/node_exporter