These are really stubs, and need some more testing and integration, but there were some people who expressed interest in this, so let's push it early.
14 lines
394 B
Cheetah
14 lines
394 B
Cheetah
/etc/systemd/system/prometheus-postgres-exporter@.service
|
|
[Unit]
|
|
Description=Prometheus exporter for PostgreSQL on port %i
|
|
Documentation=https://github.com/prometheus-community/postgres_exporter
|
|
|
|
[Service]
|
|
User=prometheus
|
|
EnvironmentFile=/etc/default/prometheus-postgres-exporter-%i
|
|
ExecStart=/usr/bin/prometheus-postgres-exporter $ARGS
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|