firefox-webui-1 / supervisord.conf
making-new-thing-testing-pushing-huginface's picture
Create supervisord.conf
985a98e verified
[supervisord]
nodaemon=true
logfile=/data/huggingface/supervisor_logs/supervisord.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=info
pidfile=/data/huggingface/supervisor_logs/supervisord.pid
[program:Xvfb]
command=/usr/bin/Xvfb :99 -screen 0 1024x768x16
autostart=true
autorestart=true
stdout_logfile=/data/huggingface/supervisor_logs/xvfb.log
stderr_logfile=/data/huggingface/supervisor_logs/xvfb.err
[program:fluxbox]
command=/usr/bin/fluxbox
autostart=true
autorestart=true
stdout_logfile=/data/huggingface/supervisor_logs/fluxbox.log
stderr_logfile=/data/huggingface/supervisor_logs/fluxbox.err
[program:firefox]
command=/usr/bin/firefox --no-remote
environment=DISPLAY=:99
autostart=true
autorestart=true
stdout_logfile=/data/huggingface/supervisor_logs/firefox.log
stderr_logfile=/data/huggingface/supervisor_logs/firefox.err
[program:x11vnc]
command=/usr/bin/x11vnc -display :99 -nopw -forever -loop -rfbport 5900 -shared
autostart=true
autorestart=true
stdout_logfile=/data/huggingface/supervisor_logs/x11vnc.log
stderr_logfile=/data/huggingface/supervisor_logs/x11vnc.err
[program:novnc]
command=/data/huggingface/noVNC/utils/launch.sh --vnc localhost:5900 --listen 7860
directory=/data/huggingface/noVNC
autostart=true
autorestart=true
stdout_logfile=/data/huggingface/supervisor_logs/novnc.log
stderr_logfile=/data/huggingface/supervisor_logs/novnc.err