From 4df2b2ee538164cef64822fed071f6a04411a567 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 6 Mar 2022 19:27:09 -0800 Subject: unifi: set the correct name for the poller's unit --- hosts/common/server/unifi.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/common/server/unifi.nix b/hosts/common/server/unifi.nix index 52635f0..ed1f82e 100644 --- a/hosts/common/server/unifi.nix +++ b/hosts/common/server/unifi.nix @@ -52,8 +52,8 @@ in { systemd.services.unifi-available = { description = "Wait for Unifi to be available"; after = [ "unifi.service" ]; - before = [ "prometheus-unifi-exporter.service" ]; - wantedBy = [ "prometheus-unifi-exporter.service" ]; + before = [ "unifi-poller.service" ]; + wantedBy = [ "unifi-poller.service" ]; serviceConfig = { ExecStart = "${pkgs.curl}/bin/curl --insecure 'https://localhost:8443/'"; -- cgit 1.4.1