`OnActiveSec` only fires once. To trigger the renew periodically, we need to use `OnCalendar`.
10 lines
155 B
SYSTEMD
10 lines
155 B
SYSTEMD
[Unit]
|
|
Description=Periodically renew certificates with LEGO
|
|
|
|
[Timer]
|
|
RandomizedDelaySec=15m
|
|
OnCalendar=*-*-* 00/4:00:00
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|