summarylogtreecommitdiffstats
path: root/prometheus-unbound-exporter.service
blob: 3b8b044498f1eb35d8a25d1bd7b76d4c02ac8b06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Prometheus Unbound Exporter
After=network.target
Wants=network.target

[Service]
Type=simple
Restart=on-failure
RestartSec=1s
ExecStart=/usr/bin/prometheus-unbound-exporter \
  -unbound.ca /etc/unbound/unbound_server.pem \
  -unbound.cert /etc/unbound/unbound_control.pem \
  -unbound.key /etc/unbound/unbound_control.key \
  -unbound.host localhost:8953
NoNewPrivileges=true
ProtectHome=true
ProtectSystem=strict

[Install]
WantedBy=multi-user.target