File tree Expand file tree Collapse file tree 4 files changed +18
-10
lines changed
Expand file tree Collapse file tree 4 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2+ #
3+ # IMPORTANT: Change this file only in directory NodeDebug!
24
35source /opt/bin/functions.sh
4- /opt/bin/generate_config > /home/seluser /selenium/config.json
6+ /opt/bin/generate_config > /opt /selenium/config.json
57
68export GEOMETRY=" $SCREEN_WIDTH " " x" " $SCREEN_HEIGHT " " x" " $SCREEN_DEPTH "
79
8- if [ ! -e /home/seluser /selenium/config.json ]; then
10+ if [ ! -e /opt /selenium/config.json ]; then
911 echo No Selenium Node configuration file, the node-base image is not intended to be run directly. 1>&2
1012 exit 1
1113fi
@@ -35,10 +37,10 @@ rm -f /tmp/.X*lock
3537
3638DISPLAY=$DISPLAY \
3739 xvfb-run -n $SERVERNUM --server-args=" -screen 0 $GEOMETRY -ac +extension RANDR" \
38- java ${JAVA_OPTS} -jar /home/seluser /selenium/selenium-server-standalone.jar \
40+ java ${JAVA_OPTS} -jar /opt /selenium/selenium-server-standalone.jar \
3941 -role node \
4042 -hub http://$HUB_PORT_4444_TCP_ADDR :$HUB_PORT_4444_TCP_PORT /grid/register \
41- -nodeConfig /home/seluser /selenium/config.json \
43+ -nodeConfig /opt /selenium/config.json \
4244 ${SE_OPTS} &
4345NODE_PID=$!
4446
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ #
3+ # IMPORTANT: Change this file only in directory NodeDebug!
24
35source /opt/bin/functions.sh
4- /opt/bin/generate_config > /home/seluser /selenium/config.json
6+ /opt/bin/generate_config > /opt /selenium/config.json
57
68export GEOMETRY=" $SCREEN_WIDTH " " x" " $SCREEN_HEIGHT " " x" " $SCREEN_DEPTH "
79
8- if [ ! -e /home/seluser /selenium/config.json ]; then
10+ if [ ! -e /opt /selenium/config.json ]; then
911 echo No Selenium Node configuration file, the node-base image is not intended to be run directly. 1>&2
1012 exit 1
1113fi
@@ -35,10 +37,10 @@ rm -f /tmp/.X*lock
3537
3638DISPLAY=$DISPLAY \
3739 xvfb-run -n $SERVERNUM --server-args=" -screen 0 $GEOMETRY -ac +extension RANDR" \
38- java ${JAVA_OPTS} -jar /home/seluser /selenium/selenium-server-standalone.jar \
40+ java ${JAVA_OPTS} -jar /opt /selenium/selenium-server-standalone.jar \
3941 -role node \
4042 -hub http://$HUB_PORT_4444_TCP_ADDR :$HUB_PORT_4444_TCP_PORT /grid/register \
41- -nodeConfig /home/seluser /selenium/config.json \
43+ -nodeConfig /opt /selenium/config.json \
4244 ${SE_OPTS} &
4345NODE_PID=$!
4446
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ #
3+ # IMPORTANT: Change this file only in directory Standalone!
24
35source /opt/bin/functions.sh
46
@@ -18,7 +20,7 @@ SERVERNUM=$(get_server_num)
1820rm -f /tmp/.X* lock
1921
2022xvfb-run -n $SERVERNUM --server-args=" -screen 0 $GEOMETRY -ac +extension RANDR" \
21- java ${JAVA_OPTS} -jar /home/seluser /selenium/selenium-server-standalone.jar \
23+ java ${JAVA_OPTS} -jar /opt /selenium/selenium-server-standalone.jar \
2224 ${SE_OPTS} &
2325NODE_PID=$!
2426
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ #
3+ # IMPORTANT: Change this file only in directory Standalone!
24
35source /opt/bin/functions.sh
46
@@ -18,7 +20,7 @@ SERVERNUM=$(get_server_num)
1820rm -f /tmp/.X* lock
1921
2022xvfb-run -n $SERVERNUM --server-args=" -screen 0 $GEOMETRY -ac +extension RANDR" \
21- java ${JAVA_OPTS} -jar /home/seluser /selenium/selenium-server-standalone.jar \
23+ java ${JAVA_OPTS} -jar /opt /selenium/selenium-server-standalone.jar \
2224 ${SE_OPTS} &
2325NODE_PID=$!
2426
You can’t perform that action at this time.
0 commit comments