Merge pull request #202563 from mfenniak/fix-unifi-poller-service

nixos/prometheus-unifi-poller-exporter: fix executable name in systemd

authored by

Luke Granger-Brown and committed by
GitHub
b7a9466d 69efbec3

+2 -1
+2 -1
nixos/modules/services/monitoring/prometheus/exporters/unifi-poller.nix
··· 9 9 poller = { inherit (cfg.log) debug quiet; }; 10 10 unifi = { inherit (cfg) controllers; }; 11 11 influxdb.disable = true; 12 + datadog.disable = true; # workaround for https://github.com/unpoller/unpoller/issues/442 12 13 prometheus = { 13 14 http_listen = "${cfg.listenAddress}:${toString cfg.port}"; 14 15 report_errors = cfg.log.prometheusErrors; ··· 30 31 }; 31 32 32 33 serviceOpts.serviceConfig = { 33 - ExecStart = "${pkgs.unifi-poller}/bin/unifi-poller --config ${configFile}"; 34 + ExecStart = "${pkgs.unifi-poller}/bin/unpoller --config ${configFile}"; 34 35 DynamicUser = false; 35 36 }; 36 37 }