diff --git a/entrypoint.sh b/entrypoint.sh index 4743a2d..d9a6c15 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -euxo pipefail main() { log_i "Starting pulseaudio server" @@ -37,7 +38,7 @@ launch_xvfb() { } launch_pulseaudio() { - pulseaudio -D --exit-idle-time=-1 & + pulseaudio -D --exit-idle-time=-1 } launch_recorder() { diff --git a/main.js b/main.js index fc3c187..61eaaf6 100644 --- a/main.js +++ b/main.js @@ -26,7 +26,8 @@ function getStartChromeCommand () { '--disable-extensions ' + '--autoplay-policy=no-user-gesture-required ' + '--allow-running-insecure-content ' + - '--disable-features=TranslateUI"' + '--disable-features=TranslateUI"' + + '--disable-dev-shm-usage' } function getStartRecordingCommand () {