Spotter-VM/vm/etc/periodic/daily/acme.sh

6 lines
168 B
Bash

#!/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