From 1ee9c0402d8b2ce9fa6f4ae2a4cfabf0bd293864 Mon Sep 17 00:00:00 2001 From: samuel Date: Thu, 1 Jan 2026 14:30:11 +0100 Subject: [PATCH] Use certbot --installer option --- netoik-rp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netoik-rp.spec b/netoik-rp.spec index 1858366..ee7a45b 100644 --- a/netoik-rp.spec +++ b/netoik-rp.spec @@ -32,7 +32,7 @@ if [ $1 == 1 ]; then %{_bindir}/env python3 -m venv /opt/certbot /opt/certbot/bin/pip install --upgrade pip certbot certbot-nginx certbot-dns-ovh %{_bindir}/env ln --symbolic --force --target-directory %{_sbindir} /opt/certbot/bin/certbot - %{_bindir}/env certbot --nginx --non-interactive --agree-tos --email samuel.campos@netoik.io --dns-ovh --dns-ovh-credentials "%{_sysconfdir}/certbot/ovh.ini" -d "*.netoik.io" -d "*.samuel-campos.fr" + %{_bindir}/env certbot --installer nginx --non-interactive --agree-tos --email samuel.campos@netoik.io --dns-ovh --dns-ovh-credentials "%{_sysconfdir}/certbot/ovh.ini" -d "*.netoik.io" -d "*.samuel-campos.fr" %{_bindir}/env printf "\nAutomatic certbot renew\n0 12 * * * root sleep $((RANDOM % 3600)) && certbot renew -q\n" >> %{_sysconfdir}/crontab # Stop nginx to be sure changes are taken in account