mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
- 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.
10 lines
160 B
Bash
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
|