summarylogtreecommitdiffstats
path: root/prometheus-fritzbox-exporter.service
blob: 99ff79b0e5b2d8e9f67d6792b011baedb3849feb (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
[Unit]
Description=Prometheus UPnP exporter for Fritz!Box routers
After=network.target

[Service]
EnvironmentFile=-/etc/conf.d/prometheus-fritzbox-exporter
ExecStart=/usr/bin/prometheus-fritzbox-exporter $FRITZBOX_EXPORTER_ARGS
Restart=on-failure

DynamicUser=true
NoNewPrivileges=true
ProtectSystem=full
ProtectKernelModules=true
ProtectKernelTunables=true
PrivateTmp=true
LockPersonality=true
ProtectHostname=true
ProtectHome=true
ProtectControlGroups=true
ProtectKernelLogs=true
PrivateDevices=true
RestrictRealtime=true
CapabilityBoundingSet=
MemoryDenyWriteExecute=true
CapabilityBoundingSet=CAP_NET_RAW
AmbientCapabilities=CAP_NET_RAW

[Install]
WantedBy=multi-user.target