From 54cd95dda923c3fd59ce1c6ab37a7390caf707f3 Mon Sep 17 00:00:00 2001 From: samuel Date: Tue, 30 Dec 2025 14:28:52 +0100 Subject: [PATCH] Remove ovh.ini from %files --- netoik-rp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netoik-rp.spec b/netoik-rp.spec index bfa54e1..6aa0413 100644 --- a/netoik-rp.spec +++ b/netoik-rp.spec @@ -26,12 +26,12 @@ if [ $1 == 1 ]; then python3 -m venv /opt/certbot /opt/certbot/bin/pip install --upgrade pip certbot certbot-dns-ovh envsubst < %{_sysconfdir}/certbot/ovh.ini.tpl > %{_sysconfdir}/certbot/ovh.ini + chmod 600 %{_sysconfdir}/certbot/ovh.ini /opt/certbot/bin/certbot certonly --dns-ovh --dns-ovh-credentials "%{_sysconfdir}/certbot/ovh.ini" -d "*.netoik.io" -d "*.samuel-campos.fr" fi %files %attr(755, root, root) %dir %{_sysconfdir}/certbot -%attr(600, root, root) %config %{_sysconfdir}/certbot/ovh.ini %attr(644, root, root) %{_sysconfdir}/certbot/ovh.ini.tpl %changelog