From 4db9172297c6eb6e6f6497fd9691deeb52250c9e Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 16 Dec 2024 09:59:34 +0100 Subject: [PATCH] fix(uptime-kuma): !hack wait 10s before starting stateless uptime kuma --- machines/nixos/rescue01/uptime-kuma.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/nixos/rescue01/uptime-kuma.nix b/machines/nixos/rescue01/uptime-kuma.nix index 8a16646..f322c66 100644 --- a/machines/nixos/rescue01/uptime-kuma.nix +++ b/machines/nixos/rescue01/uptime-kuma.nix @@ -5,6 +5,7 @@ { config, lib, + pkgs, serverNodes, sources, ... @@ -143,6 +144,8 @@ in proxyWebsockets = true; }; + systemd.services.stateless-uptime-kuma.serviceConfig.ExecStartPre = "${lib.getExe' pkgs.coreutils "sleep"} 10"; + statelessUptimeKuma = { probesConfig = mkMerge [ pingProbes