gentoo/app-metrics/postgres_exporter/files/postgres_exporter.service
Arthur Zamarin 9474d05471
app-metrics/postgres_exporter: add 0.16.0, add systemd service
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-01-17 20:13:35 +02:00

15 lines
426 B
Desktop File

[Unit]
Description=PostgreSQL Exporter
Documentation="https://github.com/prometheus-community/postgres_exporter"
[Service]
User=postgres_exporter
#Environment=DATA_SOURCE_URI=localhost:5432/postgres?sslmode=disable
#Environment=DATA_SOURCE_USER=postgres
#Environment=DATA_SOURCE_PASS=password
#Environment=DATA_SOURCE_PASS_FILE=/path/to/passwordfile
ExecStart=/usr/bin/postgres_exporter
[Install]
WantedBy=multi-user.target