ALL

For reading and verification only. You may not copy, use, modify or redistribute this code. Full notice on the main page.

tunnel/deploy/all-tunnel-certbot.timer

SHA-256: 471012448b1b422b3ac055effcfaa0e56a519a00cc8cdb570ff81645045d9e5e
14 lines · 597 bytes · View on GitHub

1# Twice a day, with a random delay so two nodes never renew in the same minute (a renewal reloads the node: see all-tunnel-certbot.service).
2# Persistent: a node that was off at the time renews as soon as it is up. certbot itself only renews a certificate inside its renewal window, so most
3# runs do nothing; what must never happen is a run that fails and nobody hears of it.
4[Unit]
5Description=Twice daily check of the ALL tunnel node's own certificate
6
7[Timer]
8OnCalendar=*-*-* 03,15:00:00
9RandomizedDelaySec=1h
10Persistent=true
11Unit=all-tunnel-certbot.service
12
13[Install]
14WantedBy=timers.target