From fe651f13c32e9285c80162f53ea4a56b6be424b2 Mon Sep 17 00:00:00 2001 From: "Philip (a-0)" <@ph:a-0.me> Date: Wed, 31 Aug 2022 11:49:01 +0200 Subject: [PATCH] Fixed certbot service file --- templates/certbot.service.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/certbot.service.j2 b/templates/certbot.service.j2 index 8e6a696..ce3b838 100644 --- a/templates/certbot.service.j2 +++ b/templates/certbot.service.j2 @@ -4,5 +4,6 @@ Documentation=file:///usr/share/doc/python-certbot-doc/html/index.html Documentation=https://letsencrypt.readthedocs.io/en/latest/ [Service] Type=oneshot -ExecStart=/usr/bin/certbot -q renew; find {{ certbot_renewal_scripts_path }} -name "*.sh" -exec {} \; +ExecStart=/usr/bin/certbot -q renew +ExecStartPost=find {{ certbot_renewal_scripts_path }} -name "*.sh" -exec {} \; PrivateTmp=true \ No newline at end of file