From ac194fbfc4593da6b449829e3996cb7052e88e96 Mon Sep 17 00:00:00 2001 From: samuel Date: Mon, 19 Jan 2026 13:17:06 +0100 Subject: [PATCH] Fix typo --- {conf => files}/certbot/ovh.ini | 0 {conf => files}/nginx/0_security.conf | 0 {conf => files}/nginx/default.conf | 0 {conf => files}/sbin/certbot_renew | 0 {conf => files}/systemd/certbot-renew.service | 0 {conf => files}/systemd/certbot-renew.timer | 0 netoik-rp.spec | 4 ++-- 7 files changed, 2 insertions(+), 2 deletions(-) rename {conf => files}/certbot/ovh.ini (100%) rename {conf => files}/nginx/0_security.conf (100%) rename {conf => files}/nginx/default.conf (100%) rename {conf => files}/sbin/certbot_renew (100%) rename {conf => files}/systemd/certbot-renew.service (100%) rename {conf => files}/systemd/certbot-renew.timer (100%) diff --git a/conf/certbot/ovh.ini b/files/certbot/ovh.ini similarity index 100% rename from conf/certbot/ovh.ini rename to files/certbot/ovh.ini diff --git a/conf/nginx/0_security.conf b/files/nginx/0_security.conf similarity index 100% rename from conf/nginx/0_security.conf rename to files/nginx/0_security.conf diff --git a/conf/nginx/default.conf b/files/nginx/default.conf similarity index 100% rename from conf/nginx/default.conf rename to files/nginx/default.conf diff --git a/conf/sbin/certbot_renew b/files/sbin/certbot_renew similarity index 100% rename from conf/sbin/certbot_renew rename to files/sbin/certbot_renew diff --git a/conf/systemd/certbot-renew.service b/files/systemd/certbot-renew.service similarity index 100% rename from conf/systemd/certbot-renew.service rename to files/systemd/certbot-renew.service diff --git a/conf/systemd/certbot-renew.timer b/files/systemd/certbot-renew.timer similarity index 100% rename from conf/systemd/certbot-renew.timer rename to files/systemd/certbot-renew.timer diff --git a/netoik-rp.spec b/netoik-rp.spec index 2d6802b..4ac52fa 100644 --- a/netoik-rp.spec +++ b/netoik-rp.spec @@ -25,7 +25,7 @@ Install the reverse proxy called nginx with a predefined configuration and with # Replace secrets in ovh.ini %{_bindir}/env envsubst < %{_sysconfdir}/certbot/ovh.ini > %{_sysconfdir}/certbot/.ovh.ini.new if %{_bindir}/env cmp --silent %{_sysconfdir}/certbot/.ovh.ini.new %{_sysconfdir}/certbot/ovh.ini; then - %{_bindir}/env rm %{_sysconfdir/certbot/.ovh.ini.new + %{_bindir}/env rm %{_sysconfdir}/certbot/.ovh.ini.new else %{_bindir}/env mv %{_sysconfdir}/certbot/.ovh.ini.new %{_sysconfdir}/certbot/ovh.ini %{_bindir}/env chmod 600 %{_sysconfdir}/certbot/ovh.ini @@ -39,7 +39,7 @@ if [ ! -d "/opt/certbot" ]; then fi # Create certbot certificates -if [ ! -d "%{_sysconfdir}/letsencrypt/live/netoik.io" || ! -d "%{_sysconfdir}/letsencrypt/live/samuel-campos.fr" ]; then +if [ ! -d "%{_sysconfdir}/letsencrypt/live/netoik.io" ] || [ ! -d "%{_sysconfdir}/letsencrypt/live/samuel-campos.fr" ]; then %{_bindir}/env certbot certonly --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" fi