diff options
author | ddennis | 2020-10-29 14:47:36 +0100 |
---|---|---|
committer | ddennis | 2020-10-29 14:47:36 +0100 |
commit | d6b2ab513928a5215e92853f5106d158f75603e6 (patch) | |
tree | e660a14f95faa6054d6c08b36d519ad87418a187 /prometheus-fritzbox-exporter.service | |
download | aur-d6b2ab513928a5215e92853f5106d158f75603e6.tar.gz |
Initial commit - first version
Diffstat (limited to 'prometheus-fritzbox-exporter.service')
-rw-r--r-- | prometheus-fritzbox-exporter.service | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/prometheus-fritzbox-exporter.service b/prometheus-fritzbox-exporter.service new file mode 100644 index 000000000000..0124e59510fb --- /dev/null +++ b/prometheus-fritzbox-exporter.service @@ -0,0 +1,26 @@ +[Unit] +Description=Prometheus UPnP exporter for Fritz!Box routers + +[Service] +ExecStart=/usr/bin/prometheus-fritzbox-exporter -gateway-url http://fritz.box:49000 -metrics-file /opt/fritzbox_exporter/metrics.json -listen-address 127.0.0.1:9101 +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 |