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 DGNum/stateless-uptime-kuma#5
This commit is contained in:
sinavir 2024-09-29 17:13:17 +02:00
parent c6baf60295
commit 390363e6a9

View file

@ -80,6 +80,8 @@ in
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
startAt = "daily";
script = '' script = ''
UPTIME_KUMA_PASSWORD=$(cat $CREDENTIALS_DIRECTORY/password) ${lib.getExe config.statelessUptimeKuma.build.script} UPTIME_KUMA_PASSWORD=$(cat $CREDENTIALS_DIRECTORY/password) ${lib.getExe config.statelessUptimeKuma.build.script}
''; '';