mirror of
https://github.com/sberk42/fritzbox_exporter.git
synced 2026-08-19 03:56:14 +00:00
Added systemd service
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=FritzBox Prometheus Exporter
|
||||
|
||||
[Service]
|
||||
User=fritzbox_exporter
|
||||
Group=fritzbox_exporter
|
||||
EnvironmentFile=/opt/fritzbox_exporter/.fritzbox_exporter.env
|
||||
ExecStart=/opt/fritzbox_exporter/fritzbox_exporter -gateway-url http://fritz.box:49000 -metrics-file /opt/fritzbox_exporter/metrics.json -listen-address 127.0.0.1:9101
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user