r/lego: Fix timer unit trigger
`OnActiveSec` only fires once. To trigger the renew periodically, we need to use `OnCalendar`.
This commit is contained in:
@@ -3,7 +3,7 @@ Description=Periodically renew certificates with LEGO
|
|||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
RandomizedDelaySec=15m
|
RandomizedDelaySec=15m
|
||||||
OnActiveSec=4h
|
OnCalendar=*-*-* 00/4:00:00
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=timers.target
|
WantedBy=timers.target
|
||||||
|
|||||||
Reference in New Issue
Block a user