In the dehydrated-wrapper, start dehydrated after a delay.
This commit is contained in:
parent
178507e3f6
commit
bb74a4e7bf
1 changed files with 5 additions and 0 deletions
5
dehydrated-wrapper
Executable file
5
dehydrated-wrapper
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue