30 lines
749 B
Plaintext
30 lines
749 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
logfile=/var/log/supervisor/supervisord.log
|
|
pidfile=/var/run/supervisord.pid
|
|
|
|
[program:xvfb]
|
|
command=Xvfb :1 -screen 0 %(ENV_SCREEN_WIDTH)sx%(ENV_SCREEN_HEIGHT)sx%(ENV_SCREEN_DEPTH)s
|
|
autorestart=true
|
|
priority=10
|
|
|
|
[program:x11vnc]
|
|
command=x11vnc -display :1 -nopw -listen 0.0.0.0 -xkb -ncache 10 -ncache_cr -forever -shared
|
|
autorestart=true
|
|
priority=20
|
|
startsecs=3
|
|
|
|
[program:websockify]
|
|
command=websockify --web /usr/share/novnc %(ENV_NOVNC_PORT)s localhost:%(ENV_VNC_PORT)s
|
|
autorestart=true
|
|
priority=30
|
|
startsecs=5
|
|
|
|
[program:bridge]
|
|
command=python3 /opt/bridge/server.py
|
|
autorestart=true
|
|
priority=40
|
|
environment=DISPLAY=":1"
|
|
stdout_logfile=/var/log/supervisor/bridge.log
|
|
stderr_logfile=/var/log/supervisor/bridge_err.log
|