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
| 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] |
| 5 | Description=Twice daily check of the ALL tunnel node's own certificate |
| 6 | |
| 7 | [Timer] |
| 8 | OnCalendar=*-*-* 03,15:00:00 |
| 9 | RandomizedDelaySec=1h |
| 10 | Persistent=true |
| 11 | Unit=all-tunnel-certbot.service |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=timers.target |