Skip to content

Commit

Permalink
update: browserleftoverscleanup conf star using env var (#2245)
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
  • Loading branch information
VietND96 committed May 3, 2024
1 parent b279999 commit 3f30189
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions NodeChrome/chrome-cleanup.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
; Priority 0 - xvfb & fluxbox, 5 - x11vnc, 10 - noVNC, 15 - selenium-node

[program:browserleftoverscleanup]
priority=0
priority=20
command=bash -c "if [ ${SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP} = "true" ]; then /opt/bin/chrome-cleanup.sh; fi"
autostart=true
exitcodes=0
autorestart=unexpected
autostart=%(ENV_SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP)s
autorestart=%(ENV_SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP)s
stopsignal=INT

;Logs
redirect_stderr=false
Expand Down
8 changes: 4 additions & 4 deletions NodeEdge/edge-cleanup.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
; Priority 0 - xvfb & fluxbox, 5 - x11vnc, 10 - noVNC, 15 - selenium-node

[program:browserleftoverscleanup]
priority=0
priority=20
command=bash -c "if [ ${SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP} = "true" ]; then /opt/bin/edge-cleanup.sh; fi"
autostart=true
exitcodes=0
autorestart=unexpected
autostart=%(ENV_SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP)s
autorestart=%(ENV_SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP)s
stopsignal=INT

;Logs
redirect_stderr=false
Expand Down
8 changes: 4 additions & 4 deletions NodeFirefox/firefox-cleanup.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
; Priority 0 - xvfb & fluxbox, 5 - x11vnc, 10 - noVNC, 15 - selenium-node

[program:browserleftoverscleanup]
priority=0
priority=20
command=bash -c "if [ ${SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP} = "true" ]; then /opt/bin/firefox-cleanup.sh; fi"
autostart=true
exitcodes=0
autorestart=unexpected
autostart=%(ENV_SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP)s
autorestart=%(ENV_SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP)s
stopsignal=INT

;Logs
redirect_stderr=false
Expand Down

0 comments on commit 3f30189

Please sign in to comment.