Fix accidentally broken service file
This commit is contained in:
parent
4b7cc065d2
commit
dac049e54c
3 changed files with 3 additions and 2 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = prometheus-postgresql-exporter
|
pkgbase = prometheus-postgresql-exporter
|
||||||
pkgdesc = Prometheus exporter for PostrgreSQL
|
pkgdesc = Prometheus exporter for PostrgreSQL
|
||||||
pkgver = 0.8.0
|
pkgver = 0.8.0
|
||||||
pkgrel = 2
|
pkgrel = 3
|
||||||
url = https://github.com/wrouesnel/postgres_exporter
|
url = https://github.com/wrouesnel/postgres_exporter
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = Apache
|
license = Apache
|
||||||
|
|
2
PKGBUILD
2
PKGBUILD
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
pkgname=prometheus-postgresql-exporter
|
pkgname=prometheus-postgresql-exporter
|
||||||
pkgver=0.8.0
|
pkgver=0.8.0
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Prometheus exporter for PostrgreSQL"
|
pkgdesc="Prometheus exporter for PostrgreSQL"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/wrouesnel/postgres_exporter"
|
url="https://github.com/wrouesnel/postgres_exporter"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
Description=Prometheus exporter for PostgreSQL
|
Description=Prometheus exporter for PostgreSQL
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
EnvironmentFile=-/etc/conf.d/prometheus-postgresql-exporter
|
EnvironmentFile=-/etc/conf.d/prometheus-postgresql-exporter
|
||||||
ExecStart=/usr/bin/prometheus_postgresql_exporter $POSTGRES_EXPORTER_ARGS
|
ExecStart=/usr/bin/prometheus_postgresql_exporter $POSTGRES_EXPORTER_ARGS
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
Loading…
Reference in a new issue