[systemd-devel] Conditionally reload a service from another service

Max Gautier mg at max.gautier.name
Mon Jul 31 20:56:16 UTC 2023


On Mon, Jul 31, 2023 at 03:23:26PM -0500, Ian Pilcher wrote:
> I have created service (along with an associated timer) that checks the
> remaining life of a TLS certificate and retrieves an updated certificate
> from Let's Encrypt if the remaining life is too short.

Is the updated certificate placed in the same file ? If so, maybe you
could use a path unit with PathChanged=/path/to/your/cert ?

-- 
Max Gautier


More information about the systemd-devel mailing list