[unit] Description=PostgreSQL Monitoring Bridge PartOf=pgmon.service Before=pgmon.service After=network.target [Service] EnvironmentFile=/etc/pgmon/%i-service.conf User=${SERVICE_USER:-postgres} ExecStart=/usr/local/bin/pgmon -c /etc/pgmon/%i.yml ExecReload=kill -HUP $MAINPID Restart=on-failure Type=exec [Install] WantedBy=multi-user.target