| 19 Feb 2025 |
hexa | oh yeah, we do AccuracySecs=14400s | 16:59:03 |
hexa | good call | 16:59:04 |
emily | I'm not sure what Type= we have on the ACME services | 16:59:08 |
hexa | oneshot | 16:59:18 |
emily | oneshots are only considered started after they complete, right? | 16:59:29 |
emily | so the timer can probably start two of them at once? which would be bad. we should probably not be using oneshot | 16:59:40 |
hexa |
the service manager will consider the unit up after the main process exits
| 17:00:16 |
hexa | *
similar to simple; however, the service manager will consider the unit up after the main process exits
| 17:00:26 |
emily | right | 17:00:34 |
emily | well I dunno, it's probably safe to specify like 12–24 hours assuming that the timer will not try to run lego again if it's still running from the previous timer run | 17:00:54 |
emily | I don't understand oneshot well enough to say whether that's the case | 17:01:00 |
hexa | 18h + AccuracySecs | 17:01:33 |
hexa | which would be between 18 and 22 hours | 17:01:43 |
hexa | or 19-23 | 17:02:01 |
emily | I think the only risk of a long value is the timer triggering again and starting lego again | 17:02:08 |
emily | I just don't know if that's how it actually works | 17:02:11 |
emily | I think systemd keeps track of services that are "starting" but not started | 17:02:19 |
emily | so it may not try to run lego again if it's blocking from before | 17:02:27 |
hexa |
Note that in case the unit to activate is already active at the time the timer elapses it is not restarted, but simply left running.
https://www.freedesktop.org/software/systemd/man/latest/systemd.timer.html
| 17:05:02 |
emily | but oneshots aren't "active" until they finish, right? | 17:11:56 |
emily | or maybe they're "active" but not "running"? | 17:12:05 |
hexa | they should be in activating while running iirc | 17:19:01 |
| 20 Feb 2025 |
hexa | ok, merged lego 4.22.2 | 18:05:34 |
hexa | so now we have ari enabled with wait time 0 | 18:05:41 |
hexa | so at least we'd get immediate cert renewal if within a requested renewal window even if the cert was valid for longer than 30 days | 18:06:20 |
hexa | --ari-disable Do not use the renewalInfo endpoint (draft-ietf-acme-ari) to check if a certificate should be renewed. (default: false)
| 18:07:53 |
ThinkChaos | Did they remove --ari-enable or do they have both now? 😄 | 18:08:48 |
emily | is 0 "no wait" or "indefinite"? | 20:31:12 |
hexa | no wait aiui | 20:55:07 |
hexa | yes, ari is default on now and you can disable it | 20:55:20 |