You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/roles/postgres/templates/postgres_exporter.systemd.j2

17 lines
422 B
Django/Jinja

[Unit]
Description=postgres_exporter - Exporter for machine metrics.
Documentation=https://github.com/prometheus/postgres_exporter
After=network.target
[Service]
User={{ postgres_exporter_user }}
Group={{ postgres_exporter_group }}
EnvironmentFile={{ postgres_exporter_config_file }}
ExecStart={{ postgres_exporter_binary }} $FLAGS
SyslogIdentifier=postgres_exporter
Restart=always
[Install]
WantedBy=multi-user.target