Let a server service carry helper scripts and timers, starting with UseSend's cert refresh
This commit is contained in:
1 parent
a987cbab66
commit
95fa480469
9 files changed
+304
-59
No files matched your search
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Daily check for a renewed UseSend SMTP proxy certificate
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
# Spread the load and avoid landing exactly when certbot is writing.
|
||||
RandomizedDelaySec=2h
|
||||
# Catch up after the host has been off; the cert does not care that we were asleep.
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in new issue
Block a user