From 390363e6a977d71a96c53d7f8b252038dfee2e2e Mon Sep 17 00:00:00 2001 From: sinavir Date: Sun, 29 Sep 2024 17:13:17 +0200 Subject: [PATCH] fix: Add a periodic update of dynamic probes We add in our HTTP probes some keywords. Recompute them on a regular basis to take account of service updates. Closes https://git.dgnum.eu/DGNum/stateless-uptime-kuma/issues/5 --- nixos/module.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/module.nix b/nixos/module.nix index 0fe541c..f83fa4d 100644 --- a/nixos/module.nix +++ b/nixos/module.nix @@ -80,6 +80,8 @@ in wantedBy = [ "multi-user.target" ]; + startAt = "daily"; + script = '' UPTIME_KUMA_PASSWORD=$(cat $CREDENTIALS_DIRECTORY/password) ${lib.getExe config.statelessUptimeKuma.build.script} '';