Brace for impact

This commit is contained in:
Eric Nemchik
2022-11-29 15:18:56 +00:00
parent a625256151
commit c5b8744d3b
3 changed files with 43 additions and 43 deletions

View File

@@ -4,7 +4,7 @@
# shellcheck source=/dev/null
. /config/.donoteditthisfile.conf
if [ ! "${ORIGVALIDATION}" = "dns" ] && [ ! "${ORIGVALIDATION}" = "duckdns" ]; then
if [[ ! "${ORIGVALIDATION}" = "dns" ]] && [[ ! "${ORIGVALIDATION}" = "duckdns" ]]; then
if pgrep -f "s6-supervise nginx" >/dev/null; then
s6-svc -u /run/service/nginx
fi

View File

@@ -4,7 +4,7 @@
# shellcheck source=/dev/null
. /config/.donoteditthisfile.conf
if [ ! "${ORIGVALIDATION}" = "dns" ] && [ ! "${ORIGVALIDATION}" = "duckdns" ]; then
if [[ ! "${ORIGVALIDATION}" = "dns" ]] && [[ ! "${ORIGVALIDATION}" = "duckdns" ]]; then
if pgrep -f "nginx:" >/dev/null; then
s6-svc -d /run/service/nginx
fi