From 228a485d68e8fdace72a4e103cc8e312f51890d0 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 5 Jan 2020 10:17:03 -0500 Subject: [PATCH] prometheus-node-exporter: init: correct variables --- sr.ht/prometheus-node-exporter/APKBUILD | 5 +++-- .../prometheus-node-exporter/prometheus-node-exporter.initd | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sr.ht/prometheus-node-exporter/APKBUILD b/sr.ht/prometheus-node-exporter/APKBUILD index 765a6d4..0252c8a 100644 --- a/sr.ht/prometheus-node-exporter/APKBUILD +++ b/sr.ht/prometheus-node-exporter/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Drew DeVault pkgname=prometheus-node-exporter pkgver=0.18.1 -pkgrel=1 +pkgrel=2 pkgdesc="prometheus exporter for machine metrics" url="https://github.com/prometheus/node_exporter" arch="all" @@ -39,4 +39,5 @@ package() { } sha512sums="cf2b854fbec1ba39b18432cdc11ab507ebc5b2828e6b34b4f49af9b949fcd365cb3e5eb1e265d0825783810c6b1572a8b3512ec27a46e5c83f89a505590159c0 prometheus-node-exporter-0.18.1.tar.gz -b3034209d6f6f01317a76005de4110407f0ca55c08fd1a6261162485b344289e347d5c3bebece2f571d97fb1c757f897560344c98d7d651675d5ca466d26e3ef prometheus-node-exporter.initd" +fe8320b47d93c9590ccf9a3456f74b90a960fd46a7561202470687de2fc5d2caebded682d2274bec71602e694b778f282d5876400da60d716ce3d3cee5e45b99 prometheus-node-exporter.initd +a19cb380e12a292af3645de18d59ebac6ce4b521281f1761d069b5d8bd574a83c92265a3a4023e372fce7ec9bab0f1849e9953cf81801fc24576acec20afb964 prometheus-node-exporter.confd" diff --git a/sr.ht/prometheus-node-exporter/prometheus-node-exporter.initd b/sr.ht/prometheus-node-exporter/prometheus-node-exporter.initd index 954460a..e7ac0b7 100644 --- a/sr.ht/prometheus-node-exporter/prometheus-node-exporter.initd +++ b/sr.ht/prometheus-node-exporter/prometheus-node-exporter.initd @@ -6,8 +6,8 @@ command=/usr/bin/prometheus_node_exporter command_args="--web.listen-address=$prometheus_node_exporter_web_listen_address" start_pre() { - [ -n "$output_log" ] && checkpath -f "$output_path" \ + [ -n "$output_log" ] && checkpath -f "$output_log" \ -m 644 -o prometheus:prometheus || true - [ -n "$error_log" ] && checkpath -f "$error_path" \ + [ -n "$error_log" ] && checkpath -f "$error_log" \ -m 644 -o prometheus:prometheus || true } -- 2.45.2