Skip to content

Commit

Permalink
Enable autorestart for vnc and other video-related services (#1624)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
AutomationD and diemol authored Jul 6, 2022
1 parent e36cc59 commit f8cb704
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
12 changes: 3 additions & 9 deletions NodeBase/selenium.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
priority=0
command=/opt/bin/start-xvfb.sh
autostart=true
autorestart=false
startsecs=0
startretries=0
autorestart=true

;Logs
redirect_stderr=false
Expand All @@ -25,9 +23,7 @@ stderr_capture_maxbytes=50MB
priority=5
command=/opt/bin/start-vnc.sh
autostart=true
autorestart=false
startsecs=0
startretries=0
autorestart=true

;Logs
redirect_stderr=false
Expand All @@ -44,9 +40,7 @@ stderr_capture_maxbytes=50MB
priority=10
command=/opt/bin/start-novnc.sh
autostart=true
autorestart=false
startsecs=0
startretries=0
autorestart=true

;Logs
redirect_stderr=false
Expand Down
8 changes: 2 additions & 6 deletions Video/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ minprocs=200 ; (min. avail process descriptors;
priority=0
command=/opt/bin/video.sh
autostart=true
autorestart=false
startsecs=0
startretries=0
autorestart=true
stopsignal=INT

;Logs (all activity redirected to stdout so it can be seen through "docker logs"
Expand All @@ -29,9 +27,7 @@ stdout_logfile_maxbytes=0
priority=5
command=python3 /opt/bin/video_ready.py
autostart=true
autorestart=false
startsecs=0
startretries=0
autorestart=true
stopsignal=INT

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

0 comments on commit f8cb704

Please sign in to comment.