diff --git a/Prometheus/install_cAdvisor.sh b/Prometheus/install_cAdvisor.sh index 8475219..06fde12 100644 --- a/Prometheus/install_cAdvisor.sh +++ b/Prometheus/install_cAdvisor.sh @@ -43,6 +43,9 @@ fi echo "Downloading from: $DOWNLOAD_URL" curl -fL -o "$TARGET" "$DOWNLOAD_URL" +sudo cp -r /tmp/cAdvisor /usr/bin/cadvisor +chmod 755 /usr/bin/cadvisor + SERVICE_FILE="/etc/systemd/system/cAdvisior.service" echo "Creating systemd service file..."