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.
This commit is contained in:
Marvin Zhang
2024-12-25 14:24:23 +08:00
parent 9e67e50c6c
commit 9db81932f6

View File

@@ -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