diff --git a/systemd/fritzbox_exporter.service b/systemd/fritzbox_exporter.service new file mode 100644 index 0000000..42b60c5 --- /dev/null +++ b/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