This file is indexed.

/lib/systemd/system/prometheus-sql-exporter.service is in prometheus-sql-exporter 0.2.0.ds-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
[Unit]
Description=Prometheus exporter for sql metrics
Documentation=https://github.com/credativ/sql_exporter
ConditionPathExists=/etc/prometheus-sql-exporter.yml

[Service]
Restart=always
User=postgres
EnvironmentFile=-/etc/default/prometheus-sql-exporter
ExecStart=/usr/bin/prometheus-sql-exporter $ARGS
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=20s
SendSIGKILL=no

[Install]
WantedBy=multi-user.target