/lib/systemd/system/prometheus-mysqld-exporter.service is in prometheus-mysqld-exporter 0.9.0+ds-3+b2.
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 | [Unit]
Description=Prometheus exporter for MySQL server
Documentation=https://prometheus.io/docs/introduction/overview/
[Service]
Restart=always
User=prometheus
EnvironmentFile=/etc/default/prometheus-mysqld-exporter
ExecStart=/usr/bin/prometheus-mysqld-exporter $ARGS
[Install]
WantedBy=multi-user.target
|