Skip to content

Commit 3f30189

Browse files
authored
update: browserleftoverscleanup conf star using env var (#2245)
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent b279999 commit 3f30189

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

NodeChrome/chrome-cleanup.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
; Priority 0 - xvfb & fluxbox, 5 - x11vnc, 10 - noVNC, 15 - selenium-node
44

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

1212
;Logs
1313
redirect_stderr=false

NodeEdge/edge-cleanup.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
; Priority 0 - xvfb & fluxbox, 5 - x11vnc, 10 - noVNC, 15 - selenium-node
44

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

1212
;Logs
1313
redirect_stderr=false

NodeFirefox/firefox-cleanup.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
; Priority 0 - xvfb & fluxbox, 5 - x11vnc, 10 - noVNC, 15 - selenium-node
44

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

1212
;Logs
1313
redirect_stderr=false

0 commit comments

Comments
 (0)