summarylogtreecommitdiffstats
path: root/prometheus-systemd-exporter.service
blob: f5df7ec878332bd128c7ecb5a226940edefd18be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Prometheus exporter for systemd units, written in Go.
Requires=network-online.target
After=network-online.target

[Service]
Restart=on-failure
ExecStart=/usr/bin/prometheus-systemd-exporter --web.listen-address=127.0.0.1:9558
NoNewPrivileges=true
ProtectHome=read-only
ProtectSystem=strict

[Install]
WantedBy=multi-user.target