From 9db81932f6d27e5b718843b5a7c78d834f2e519b Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Wed, 25 Dec 2024 14:24:23 +0800 Subject: [PATCH] fix: suppress nginx service start output in docker-init.sh - Redirected the output of the nginx service start command to /dev/null to prevent cluttering the console with unnecessary messages during server startup. - This change enhances the user experience by providing a cleaner output when initializing the Docker environment. --- docker/bin/docker-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/bin/docker-init.sh b/docker/bin/docker-init.sh index 1f733581..b8532639 100644 --- a/docker/bin/docker-init.sh +++ b/docker/bin/docker-init.sh @@ -2,7 +2,7 @@ if [ "${CRAWLAB_NODE_MASTER}" == "Y" ]; then # Start nginx - service nginx start + service nginx start >> /dev/null 2>&1 fi # Start backend