mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
13 lines
237 B
Bash
13 lines
237 B
Bash
#!/bin/bash
|
|
|
|
if [ "${CRAWLAB_NODE_MASTER}" == "Y" ]; then
|
|
# Replace default api path to new one
|
|
python /app/bin/update_docker_js_api_address.py
|
|
|
|
# Start nginx
|
|
service nginx start
|
|
fi
|
|
|
|
# Start backend
|
|
crawlab-server server
|