|
@@ -640,9 +640,9 @@ function mesh_tox_node {
|
640
|
640
|
fi
|
641
|
641
|
|
642
|
642
|
if [ -f /usr/local/bin/${PROJECT_NAME} ]; then
|
643
|
|
- TOX_PORT_MAIN=$(cat /usr/local/bin/${PROJECT_NAME} | grep "TOX_PORT=" | head -n 1 | awk -F '=' '{print $2}')
|
|
643
|
+ TOX_PORT_MAIN=$(cat /usr/local/bin/${PROJECT_NAME}-app-tox | grep "TOX_PORT=" | head -n 1 | awk -F '=' '{print $2}')
|
644
|
644
|
else
|
645
|
|
- TOX_PORT_MAIN=$(cat /usr/bin/${PROJECT_NAME} | grep "TOX_PORT=" | head -n 1 | awk -F '=' '{print $2}')
|
|
645
|
+ TOX_PORT_MAIN=$(cat /usr/bin/${PROJECT_NAME}-app-tox | grep "TOX_PORT=" | head -n 1 | awk -F '=' '{print $2}')
|
646
|
646
|
fi
|
647
|
647
|
if [ ${#TOX_PORT_MAIN} -gt 2 ]; then
|
648
|
648
|
TOX_PORT=$TOX_PORT_MAIN
|