In the dehydrated-wrapper, start dehydrated after a delay.

This commit is contained in:
Darren 'Tadgy' Austin 2026-05-27 15:38:08 +01:00
commit bb74a4e7bf

5
dehydrated-wrapper Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
#Delay the run for 15 hours (from midnight) and then run at a random time within 3 hours after that.
sleep $(( 54000 + (RANDOM % 10800) ))
/opt/sbin/dehydrated -c >/dev/null