supervisord.conf 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. [supervisord]
  2. nodaemon=true
  3. logfile=%(ENV_LOG_PATH)s/supervisord.log
  4. childlogdir=%(ENV_LOG_PATH)s
  5. priority=1
  6. [program:xvfb]
  7. command=/usr/bin/Xvfb %(ENV_DISPLAY)s -screen %(ENV_SCREEN)s %(ENV_SCREEN_WIDTH)sx%(ENV_SCREEN_HEIGHT)sx%(ENV_SCREEN_DEPTH)s
  8. stdout_logfile=%(ENV_LOG_PATH)s/xvfb.stdout.log
  9. stderr_logfile=%(ENV_LOG_PATH)s/xvfb.stderr.log
  10. priority=1
  11. [program:openbox]
  12. command=/usr/bin/openbox-session
  13. stdout_logfile=%(ENV_LOG_PATH)s/openbox.stdout.log
  14. stderr_logfile=%(ENV_LOG_PATH)s/openbox.stderr.log
  15. priority=2
  16. [program:x11vnc]
  17. command=/usr/bin/x11vnc -display %(ENV_DISPLAY)s -nopw -forever -shared
  18. stdout_logfile=%(ENV_LOG_PATH)s/x11vnc.stdout.log
  19. stderr_logfile=%(ENV_LOG_PATH)s/x11vnc.stderr.log
  20. priority=2
  21. autorestart=true
  22. [program:novnc]
  23. command=./noVNC/utils/launch.sh --vnc localhost:%(ENV_LOCAL_PORT)s --listen %(ENV_TARGET_PORT)s
  24. stdout_logfile=%(ENV_LOG_PATH)s/novnc.stdout.log
  25. stderr_logfile=%(ENV_LOG_PATH)s/novnc.stderr.log
  26. priority=2
  27. [program:port-forward]
  28. command=./src/port_forward.sh
  29. autorestart=false
  30. priority=1
  31. ;startsecs to fix "not expected" error. see: https://github.com/Supervisor/supervisor/issues/212#issuecomment-47933372
  32. [program:screen-copy]
  33. command=./src/scrcpy.sh
  34. autorestart=false
  35. stdout_logfile=%(ENV_LOG_PATH)s/screen-copy.stdout.log
  36. stderr_logfile=%(ENV_LOG_PATH)s/screen-copy.stderr.log
  37. priority=3
  38. [program:atd]
  39. command=./src/atd.sh
  40. autorestart=false
  41. stdout_logfile=%(ENV_LOG_PATH)s/atd.stdout.log
  42. stderr_logfile=%(ENV_LOG_PATH)s/atd.stderr.log
  43. priority=4
  44. [program:docker-appium]
  45. command=./src/appium.sh
  46. autorestart=false
  47. stdout_logfile=%(ENV_LOG_PATH)s/docker-android.stdout.log
  48. stderr_logfile=%(ENV_LOG_PATH)s/docker-android.stderr.log
  49. priority=4
  50. [program:auto-recording]
  51. command=./src/record.sh auto_record
  52. autorestart=false
  53. stdout_logfile=%(ENV_LOG_PATH)s/video-recording.stdout.log
  54. stderr_logfile=%(ENV_LOG_PATH)s/video-recording.stderr.log
  55. priority=4
  56. [program:adb-utils]
  57. command=./src/utils.sh
  58. autorestart=false
  59. stdout_logfile=%(ENV_LOG_PATH)s/adb-utils.stdout.log
  60. stderr_logfile=%(ENV_LOG_PATH)s/adb-utils.stderr.log
  61. priority=5