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