From a425c708632afe5d5637d1fe2d492c41dcb25aee Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 13 Jun 2023 20:02:06 +0200 Subject: [PATCH] fix: extra args --- .SRCINFO | 2 +- PKGBUILD | 2 +- systemd.service | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 5f34c37..451b6c9 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = prometheus-x509-certificate-exporter pkgdesc = metric exporter for x509 certificates pkgver = 3.6.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/enix/x509-certificate-exporter arch = armv7h arch = aarch64 diff --git a/PKGBUILD b/PKGBUILD index e68f1fc..95b1757 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=prometheus-x509-certificate-exporter _pkgname=x509-certificate-exporter pkgver=3.6.0 -pkgrel=2 +pkgrel=3 pkgdesc="metric exporter for x509 certificates" arch=('armv7h' 'aarch64' 'x86_64') url="https://github.com/enix/$_pkgname" diff --git a/systemd.service b/systemd.service index 96c28ab..8e3791f 100644 --- a/systemd.service +++ b/systemd.service @@ -4,8 +4,8 @@ Requires=network-online.target After=network-online.target [Service] -EnvironmentFile=/etc/conf.d/prometheus-x509-certificate-exporter -ExecStart=/usr/bin/prometheus-x509-certificate-exporter ${EXTRA_ARGS} +EnvironmentFile=-/etc/conf.d/prometheus-x509-certificate-exporter +ExecStart=/usr/bin/prometheus-x509-certificate-exporter $EXTRA_ARGS ExecReload=/bin/kill -HUP $MAINPID User=root Group=root