-
Hi, I'm using this: https://github.com/smallstep/certificates/blob/master/systemd/[email protected] service file and the timer to update certificates for nginx. It works, but it shows errors. The problem is systemd sees that the ExecStartPre process, which checks if it is time to renew the certificate, returns an non zero return value and therefor gives an error. So if you run status on the service process you get: Starting Certificate renewer for nginx... By the time it is actually time to renew the certificate it will return 0, so then it will run without this error. Which means the system is working, but just giving annoying errors. I'm running it on Debian 10. Is there a better way to do this? Hallvor |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @hallvoren, you can clear this up with |
Beta Was this translation helpful? Give feedback.
-
Hi. Thanks for the reply. |
Beta Was this translation helpful? Give feedback.
Hi @hallvoren, you can clear this up with
ExecCondition
, but last I checked Debian 10 runs systemd v241 and doesn't support that parameter. I haven't found another way to do prevent the renewal without these messages.