summarylogtreecommitdiffstats
path: root/prometheus-libvirt-exporter.service
blob: 7ff67d82c61703d16eb27f88e011bd21d9b3ee98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description="Prometheus libvirt exporter"
Requires=network-online.target
After=network-online.target

[Service]
Restart=on-failure
ExecStart=/usr/bin/prometheus-libvirt-exporter
ExecReload=/bin/kill -HUP $MAINPID
NoNewPrivileges=true
ProtectHome=read-only
ProtectSystem=strict

[Install]
WantedBy=multi-user.target