diff --git a/contrib/postgres-connection-exporter.service b/contrib/postgres-connection-exporter.service new file mode 100644 index 0000000..733b727 --- /dev/null +++ b/contrib/postgres-connection-exporter.service @@ -0,0 +1,13 @@ +[Unit] +Description=Postgres Connection Exporter +After=network.target + +[Service] +User=postgres-connection-exporter +Group=postgres-connection-exporter +ExecStart=/srv/postgres-connection-exporter/bin/postgres-connection-exporter +Restart=always +WorkingDirectory=/srv/postgres-connection-exporter + +[Install] +WantedBy=multi-user.target