diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-03-06 19:27:09 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-03-06 19:27:09 -0800 |
| commit | 4df2b2ee538164cef64822fed071f6a04411a567 (patch) | |
| tree | 719e1faabbf854dbef2dee5b2b9eb508527f5569 /hosts/common/server/unifi.nix | |
| parent | traefik: proper configuration for unifi (diff) | |
| download | infra-4df2b2ee538164cef64822fed071f6a04411a567.tar.gz | |
unifi: set the correct name for the poller's unit
Diffstat (limited to 'hosts/common/server/unifi.nix')
| -rw-r--r-- | hosts/common/server/unifi.nix | 4 |
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/'"; |
