Files
crawlab/docker/bin/docker-init.sh
Marvin Zhang 9db81932f6 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.
2024-12-25 14:24:23 +08:00

10 lines
160 B
Bash

#!/bin/bash
if [ "${CRAWLAB_NODE_MASTER}" == "Y" ]; then
# Start nginx
service nginx start >> /dev/null 2>&1
fi
# Start backend
crawlab-server server