From 98deb6b468c52d09c69c699b02ab16791f557beb Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Thu, 21 Dec 2023 18:08:22 +0000 Subject: Enable certbot for certificates renewal --- roles/web/files/certbot/certbot.service | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 roles/web/files/certbot/certbot.service (limited to 'roles/web/files/certbot/certbot.service') diff --git a/roles/web/files/certbot/certbot.service b/roles/web/files/certbot/certbot.service new file mode 100644 index 0000000..bea307c --- /dev/null +++ b/roles/web/files/certbot/certbot.service @@ -0,0 +1,6 @@ +[Unit] +Description=Let's Encrypt renewal + +[Service] +Type=oneshot +ExecStart=/usr/bin/certbot renew --agree-tos --deploy-hook "systemctl reload nginx" -- cgit v1.2.3-70-g09d2