|
@@ -1,17 +1,17 @@
|
|
|
FETCH_CMD wget -q -O
|
|
|
-EXPORT_DIR /var/tmp/node_exporter
|
|
|
-EXPORT_DIR_CMD install -d -o nobody -g nogroup -m 1755
|
|
|
-#EXPORT_DIR_CMD mkdir -p
|
|
|
+EXPORT_DIR /var/lib/prometheus/node-exporter
|
|
|
+EXPORT_DIR_CHOWN chown nobody:nogroup
|
|
|
+EXPORT_DIR_INSTALL install -d -o nobody -g nobody -m 1755
|
|
|
+#EXPORT_DIR_INSTALL mkdir -p
|
|
|
RUN_SML /usr/lib/smlnj/bin/.run-sml
|
|
|
HEAP_SUFFIX x86-linux
|
|
|
-HEAP_FILES src/nodes2prom.x86-linux src/json-pp.x86-linux
|
|
|
-HEAP_TAR_EXCLUDE
|
|
|
+HEAP_INSTALL_FILES src/nodes2prom.x86-linux src/json-pp.x86-linux
|
|
|
BIN_DIR /usr/local/bin
|
|
|
# keep this:
|
|
|
ETC_DIR /etc
|
|
|
DASHBOARD_DIR /var/lib/grafana/dashboards
|
|
|
-DASHBOARD_DIR_CMD install -d -o grafana -g grafana -m 755
|
|
|
-#DASHBOARD_DIR_CMD mkdir -p
|
|
|
+DASHBOARD_DIR_INSTALL install -d -o grafana -g grafana -m 755
|
|
|
+#DASHBOARD_DIR_INSTALL mkdir -p
|
|
|
INSTALL_BIN_CMD install -o 0 -g 0 -p -v
|
|
|
#INSTALL_BIN_CMD cp -a
|
|
|
INSTALL_DATA_CMD install -o 0 -g 0 -p -v -m 644
|