From 3980ee1ecf31293c6e5d7533a7b404543339ee3b Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Sat, 21 Jan 2023 08:13:33 -0600 Subject: [PATCH] Formatting (tabs) --- .../etc/letsencrypt/renewal-hooks/post/10-nginx | 12 ++++++------ .../etc/letsencrypt/renewal-hooks/pre/10-nginx | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/root/defaults/etc/letsencrypt/renewal-hooks/post/10-nginx b/root/defaults/etc/letsencrypt/renewal-hooks/post/10-nginx index 723d69c..43830ed 100644 --- a/root/defaults/etc/letsencrypt/renewal-hooks/post/10-nginx +++ b/root/defaults/etc/letsencrypt/renewal-hooks/post/10-nginx @@ -5,11 +5,11 @@ . /config/.donoteditthisfile.conf if [[ ! "${ORIGVALIDATION}" = "dns" ]] && [[ ! "${ORIGVALIDATION}" = "duckdns" ]]; then - if pgrep -f "s6-supervise nginx" >/dev/null; then - s6-svc -u /run/service/svc-nginx - fi + if pgrep -f "s6-supervise nginx" >/dev/null; then + s6-svc -u /run/service/svc-nginx + fi else - if pgrep -f "nginx:" >/dev/null; then - s6-svc -h /run/service/svc-nginx - fi + if pgrep -f "nginx:" >/dev/null; then + s6-svc -h /run/service/svc-nginx + fi fi diff --git a/root/defaults/etc/letsencrypt/renewal-hooks/pre/10-nginx b/root/defaults/etc/letsencrypt/renewal-hooks/pre/10-nginx index a8fb50f..64c8674 100644 --- a/root/defaults/etc/letsencrypt/renewal-hooks/pre/10-nginx +++ b/root/defaults/etc/letsencrypt/renewal-hooks/pre/10-nginx @@ -5,7 +5,7 @@ . /config/.donoteditthisfile.conf if [[ ! "${ORIGVALIDATION}" = "dns" ]] && [[ ! "${ORIGVALIDATION}" = "duckdns" ]]; then - if pgrep -f "nginx:" >/dev/null; then - s6-svc -d /run/service/svc-nginx - fi + if pgrep -f "nginx:" >/dev/null; then + s6-svc -d /run/service/svc-nginx + fi fi