mirror of
https://github.com/helfrichmichael/prusaslicer-novnc.git
synced 2024-08-30 18:32:27 +00:00
23 lines
646 B
Plaintext
23 lines
646 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
pidfile=/tmp/supervisord.pid
|
|
|
|
[program:vnc]
|
|
priority=0
|
|
command=/opt/TurboVNC/bin/vncserver %(ENV_DISPLAY)s -fg %(ENV_VNC_SEC)s -depth 24 -geometry %(ENV_VNC_RESOLUTION)s -desktop "Prusaslicer"
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
|
|
[program:novnc]
|
|
priority=0
|
|
command=websockify --web=/usr/share/novnc/ %(ENV_NOVNC_PORT)s localhost:%(ENV_LOCALFBPORT)s
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
|
|
[program:prusaslicer]
|
|
priority=1
|
|
environment=VGL_DISPLAY=%(ENV_VGL_DISPLAY)s
|
|
command=/bin/bash -c '%(ENV_VGLRUN)s /slic3r/slic3r-dist/prusa-slicer --datadir /configs/.config/PrusaSlicer/'
|
|
autorestart=true
|
|
redirect_stderr=true
|