File: service

package info (click to toggle)
prometheus-bind-exporter 0.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,000 kB
  • sloc: xml: 26,474; sh: 52; makefile: 40
file content (22 lines) | stat: -rw-r--r-- 494 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=Prometheus exporter for BIND
Documentation=https://github.com/prometheus-community/bind_exporter

[Service]
Restart=on-failure
User=prometheus
EnvironmentFile=/etc/default/prometheus-bind-exporter
ExecStart=/usr/bin/prometheus-bind-exporter $ARGS

# systemd hardening options
PrivateDevices=true
PrivateTmp=true
PrivateUsers=true
ProtectClock=true
ProtectHome=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=full

[Install]
WantedBy=multi-user.target