File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ Environment=STEPPATH=/etc/step-ca \
12
12
CERT_LOCATION =/etc/step/certs/%i.crt \
13
13
KEY_LOCATION =/etc/step/certs/%i.key
14
14
15
- ; ExecStartPre checks if the certificate is ready for renewal,
15
+ ; ExecCondition checks if the certificate is ready for renewal,
16
16
; based on the exit status of the command.
17
- ; (In systemd 243 and above , you can use ExecCondition = here.)
18
- ExecStartPre =/usr/bin/step certificate needs-renewal $CERT_LOCATION --roots $STEPPATH/certs/root_ca.crt
17
+ ; (In systemd 242 or below , you can use ExecStartPre = here.)
18
+ ExecCondition =/usr/bin/step certificate needs-renewal $CERT_LOCATION
19
19
20
20
; ExecStart renews the certificate, if ExecStartPre was successful.
21
21
ExecStart =/usr/bin/step ca renew --force $CERT_LOCATION $KEY_LOCATION
You can’t perform that action at this time.
0 commit comments