Browse Source

Added systemd service

pull/1/head
sberk42 4 years ago
parent
commit
404611873d
  1. 11
      systemd/fritzbox_exporter.service

11
systemd/fritzbox_exporter.service

@ -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
Loading…
Cancel
Save