about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/common/server/unifi.nix4
1 files 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/'";