* update prometheus-node-exporter to 1.8.2-2
This commit is contained in:
parent
0e8b785291
commit
7e0efc7d73
@ -1,7 +1,7 @@
|
||||
pkgbase = prometheus-node-exporter
|
||||
pkgdesc = Exporter for machine metrics
|
||||
pkgver = 1.8.2
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://github.com/prometheus/node_exporter
|
||||
arch = x86_64
|
||||
arch = powerpc64le
|
||||
@ -18,7 +18,7 @@ pkgbase = prometheus-node-exporter
|
||||
source = prometheus-node-exporter.sysusers
|
||||
sha256sums = f615c70be816550498dd6a505391dbed1a896705eff842628de13a1fa7654e8f
|
||||
sha256sums = ce93e2b95bfc86a8a046e2f9175408e1cbffa784fd3b65dd141fde70b5bb2585
|
||||
sha256sums = 457e305760323f941d20248e2ca5817ae4a8b5586f79a2331b968bf3baa66c5b
|
||||
sha256sums = b1f4d3afde5d062cbb0d750f5c71a3f76b9666a92c3c3cb2b6faa4c8bbe8c9cb
|
||||
sha256sums = c7fd0b1793dfe7a354a28e978d3c79e7195eaf43376b9eece37e996fe0772c5c
|
||||
|
||||
pkgname = prometheus-node-exporter
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
pkgname=prometheus-node-exporter
|
||||
pkgver=1.8.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
|
||||
pkgdesc='Exporter for machine metrics'
|
||||
url='https://github.com/prometheus/node_exporter'
|
||||
@ -23,7 +23,7 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/prometheus/node_exporter/ar
|
||||
|
||||
sha256sums=('f615c70be816550498dd6a505391dbed1a896705eff842628de13a1fa7654e8f'
|
||||
'ce93e2b95bfc86a8a046e2f9175408e1cbffa784fd3b65dd141fde70b5bb2585'
|
||||
'457e305760323f941d20248e2ca5817ae4a8b5586f79a2331b968bf3baa66c5b'
|
||||
'b1f4d3afde5d062cbb0d750f5c71a3f76b9666a92c3c3cb2b6faa4c8bbe8c9cb'
|
||||
'c7fd0b1793dfe7a354a28e978d3c79e7195eaf43376b9eece37e996fe0772c5c')
|
||||
|
||||
build() {
|
||||
@ -39,7 +39,7 @@ build() {
|
||||
-X github.com/prometheus/common/version.Revision=$pkgver \
|
||||
-X github.com/prometheus/common/version.Branch=tarball \
|
||||
-X github.com/prometheus/common/version.BuildUser=someone@builder \
|
||||
-X github.com/prometheus/common/version.BuildDate=$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d-%H:%M:%S)" \
|
||||
-X github.com/prometheus/common/version.BuildDate=$(date -u '+%Y%m%d-%H:%M:%S' --date=@${SOURCE_DATE_EPOCH})" \
|
||||
.
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,6 @@ Group=node_exporter
|
||||
Restart=on-failure
|
||||
EnvironmentFile=-/etc/conf.d/prometheus-node-exporter
|
||||
ExecStart=/usr/bin/prometheus-node-exporter $NODE_EXPORTER_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
NoNewPrivileges=true
|
||||
ProtectHome=read-only
|
||||
ProtectSystem=strict
|
||||
|
Loading…
x
Reference in New Issue
Block a user