blob: 748ad8f65ff80ecb696297ab21972a41e1589a0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
[Unit]
Description=Prometheus exporter for Free Range Routing
Documentation=https://github.com/tynany/frr_exporter
Requires=network-online.target
After=network-online.target nss-lookup.target basic.target frr.service
Wants=network-online.target nss-lookup.target frr.service
[Service]
User=prometheus-frr-exporter
Group=frrvty
EnvironmentFile=-/etc/conf.d/prometheus-frr-exporter
ExecStart=/usr/bin/prometheus-frr-exporter $FRR_EXPORTER_ARGS
ExecStop=/bin/kill -s SIGTERM $MAINPID
ExecReload=/bin/kill -HUP $MAINPID
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=full
ProtectHostname=true
ProtectControlGroups=true
ProtectKernelModules=true
ProtectKernelTunables=true
LockPersonality=true
RestrictRealtime=true
RestrictNamespaces=true
MemoryDenyWriteExecute=true
PrivateDevices=true
CapabilityBoundingSet=
[Install]
WantedBy=multi-user.target
|