Skip to content

Commit f8cb704

Browse files
DimmKirrdiemol
andauthored
Enable autorestart for vnc and other video-related services (SeleniumHQ#1624)
VNC Autorestart - Enable autorestart for vnc and other video-related services - Switch back to defaults in startsecs (1) - Switch back to defaults in startretries (3) Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
1 parent e36cc59 commit f8cb704

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

NodeBase/selenium.conf

+3-9
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
priority=0
77
command=/opt/bin/start-xvfb.sh
88
autostart=true
9-
autorestart=false
10-
startsecs=0
11-
startretries=0
9+
autorestart=true
1210

1311
;Logs
1412
redirect_stderr=false
@@ -25,9 +23,7 @@ stderr_capture_maxbytes=50MB
2523
priority=5
2624
command=/opt/bin/start-vnc.sh
2725
autostart=true
28-
autorestart=false
29-
startsecs=0
30-
startretries=0
26+
autorestart=true
3127

3228
;Logs
3329
redirect_stderr=false
@@ -44,9 +40,7 @@ stderr_capture_maxbytes=50MB
4440
priority=10
4541
command=/opt/bin/start-novnc.sh
4642
autostart=true
47-
autorestart=false
48-
startsecs=0
49-
startretries=0
43+
autorestart=true
5044

5145
;Logs
5246
redirect_stderr=false

Video/supervisord.conf

+2-6
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ minprocs=200 ; (min. avail process descriptors;
1515
priority=0
1616
command=/opt/bin/video.sh
1717
autostart=true
18-
autorestart=false
19-
startsecs=0
20-
startretries=0
18+
autorestart=true
2119
stopsignal=INT
2220

2321
;Logs (all activity redirected to stdout so it can be seen through "docker logs"
@@ -29,9 +27,7 @@ stdout_logfile_maxbytes=0
2927
priority=5
3028
command=python3 /opt/bin/video_ready.py
3129
autostart=true
32-
autorestart=false
33-
startsecs=0
34-
startretries=0
30+
autorestart=true
3531
stopsignal=INT
3632

3733
;Logs (all activity redirected to stdout so it can be seen through "docker logs"

0 commit comments

Comments
 (0)