Skip to content

Commit

Permalink
set RAM_SIZE env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Shmayro committed Oct 5, 2024
1 parent a2b0034 commit 2c61050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ user=root
serverurl=unix:///var/run/supervisor.sock

[program:emulator]
command=/opt/android-sdk/emulator/emulator -avd test -no-window -no-audio -gpu swiftshader_indirect -no-snapshot -qemu -m 2048
command=/bin/bash -c "/opt/android-sdk/emulator/emulator -avd test -no-window -no-audio -no-boot-anim -gpu swiftshader_indirect -no-snapshot -qemu -m ${RAM_SIZE:-2048}"
stdout_logfile=/var/log/supervisor/emulator.out.log
stderr_logfile=/var/log/supervisor/emulator.err.log
autorestart=true
Expand Down

0 comments on commit 2c61050

Please sign in to comment.