added systemd cert renewal
This commit is contained in:
19
systemd/cert-renewer.timer
Normal file
19
systemd/cert-renewer.timer
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Timer for certificate renewal
|
||||
Documentation=https://smallstep.com/docs/step-ca/certificate-authority-server-production
|
||||
; PartOf=cert-renewer.target
|
||||
|
||||
[Timer]
|
||||
Persistent=true
|
||||
|
||||
; Run the timer unit every 15 minutes.
|
||||
OnCalendar=*:1/15
|
||||
|
||||
; Always run the timer on time.
|
||||
AccuracySec=1us
|
||||
|
||||
; Add jitter to prevent a "thundering hurd" of simultaneous certificate renewals.
|
||||
RandomizedDelaySec=5m
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user