Fix accidentally broken service file

This commit is contained in:
Manuel 2021-01-24 21:51:38 +01:00
parent 4b7cc065d2
commit dac049e54c
Signed by: Manuel
GPG key ID: 4085037435E1F07A
3 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
pkgbase = prometheus-postgresql-exporter
pkgdesc = Prometheus exporter for PostrgreSQL
pkgver = 0.8.0
pkgrel = 2
pkgrel = 3
url = https://github.com/wrouesnel/postgres_exporter
arch = x86_64
license = Apache

View file

@ -3,7 +3,7 @@
pkgname=prometheus-postgresql-exporter
pkgver=0.8.0
pkgrel=2
pkgrel=3
pkgdesc="Prometheus exporter for PostrgreSQL"
arch=('x86_64')
url="https://github.com/wrouesnel/postgres_exporter"

View file

@ -2,6 +2,7 @@
Description=Prometheus exporter for PostgreSQL
After=network.target
[Service]
EnvironmentFile=-/etc/conf.d/prometheus-postgresql-exporter
ExecStart=/usr/bin/prometheus_postgresql_exporter $POSTGRES_EXPORTER_ARGS
Restart=on-failure