diff --git a/apk/vmmgr b/apk/vmmgr index 43f55e5..3b9cbe6 160000 --- a/apk/vmmgr +++ b/apk/vmmgr @@ -1 +1 @@ -Subproject commit 43f55e59172836e8f7a1390fac82a1070b4660c4 +Subproject commit 3b9cbe61b326d2ac829305996b6c2dd3f0e6e635 diff --git a/vm/etc/periodic/daily/acme.sh b/vm/etc/periodic/daily/acme.sh new file mode 100644 index 0000000..61b9db2 --- /dev/null +++ b/vm/etc/periodic/daily/acme.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +# Sleep randomly up to 1hr to avoid peak on ACME server +/bin/sleep $(/usr/bin/shuf -i 60-3600 -n 1) +/usr/bin/acme.sh --home /etc/acme.sh.d --cron >/dev/null