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 1
1
#! /bin/bash
2
+ #
3
+ # IMPORTANT: Change this file only in directory NodeDebug!
2
4
3
5
source /opt/bin/functions.sh
4
- /opt/bin/generate_config > /home/seluser /selenium/config.json
6
+ /opt/bin/generate_config > /opt /selenium/config.json
5
7
6
8
export GEOMETRY=" $SCREEN_WIDTH " " x" " $SCREEN_HEIGHT " " x" " $SCREEN_DEPTH "
7
9
8
- if [ ! -e /home/seluser /selenium/config.json ]; then
10
+ if [ ! -e /opt /selenium/config.json ]; then
9
11
echo No Selenium Node configuration file, the node-base image is not intended to be run directly. 1>&2
10
12
exit 1
11
13
fi
@@ -35,10 +37,10 @@ rm -f /tmp/.X*lock
35
37
36
38
DISPLAY=$DISPLAY \
37
39
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 \
39
41
-role node \
40
42
-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 \
42
44
${SE_OPTS} &
43
45
NODE_PID=$!
44
46
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+ #
3
+ # IMPORTANT: Change this file only in directory NodeDebug!
2
4
3
5
source /opt/bin/functions.sh
4
- /opt/bin/generate_config > /home/seluser /selenium/config.json
6
+ /opt/bin/generate_config > /opt /selenium/config.json
5
7
6
8
export GEOMETRY=" $SCREEN_WIDTH " " x" " $SCREEN_HEIGHT " " x" " $SCREEN_DEPTH "
7
9
8
- if [ ! -e /home/seluser /selenium/config.json ]; then
10
+ if [ ! -e /opt /selenium/config.json ]; then
9
11
echo No Selenium Node configuration file, the node-base image is not intended to be run directly. 1>&2
10
12
exit 1
11
13
fi
@@ -35,10 +37,10 @@ rm -f /tmp/.X*lock
35
37
36
38
DISPLAY=$DISPLAY \
37
39
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 \
39
41
-role node \
40
42
-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 \
42
44
${SE_OPTS} &
43
45
NODE_PID=$!
44
46
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+ #
3
+ # IMPORTANT: Change this file only in directory Standalone!
2
4
3
5
source /opt/bin/functions.sh
4
6
@@ -18,7 +20,7 @@ SERVERNUM=$(get_server_num)
18
20
rm -f /tmp/.X* lock
19
21
20
22
xvfb-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 \
22
24
${SE_OPTS} &
23
25
NODE_PID=$!
24
26
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+ #
3
+ # IMPORTANT: Change this file only in directory Standalone!
2
4
3
5
source /opt/bin/functions.sh
4
6
@@ -18,7 +20,7 @@ SERVERNUM=$(get_server_num)
18
20
rm -f /tmp/.X* lock
19
21
20
22
xvfb-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 \
22
24
${SE_OPTS} &
23
25
NODE_PID=$!
24
26
You can’t perform that action at this time.
0 commit comments