- Add a DEBUGGING flag - Make the location of the unix socket configurable While I was here I moved all the priority configs in supervisord to the top. I like it better there
20 lines
1010 B
INI
20 lines
1010 B
INI
|
|
[program:neko]
|
|
priority=30
|
|
autostart=false
|
|
autorestart=true
|
|
user=%(ENV_USER)s
|
|
# /usr/bin/neko serve --static "/var/www" --display ${DISPLAY} --bind :${PORT_NOVNC_WEB}
|
|
# /usr/bin/neko serve --static "/var/www" --display ${DISPLAY} --bind :${PORT_NOVNC_WEB} --nat1to1 $(ip route get 1 | awk '{print $(NF-2);exit}') --screen 1280x720@30 --hwenc VAAPI --h264
|
|
# /usr/bin/neko serve --static "/var/www" --display ${DISPLAY} --bind :${PORT_NOVNC_WEB} --nat1to1 $(ip route get 1 | awk '{print $(NF-2);exit}') --screen 1280x720@30 --vp8
|
|
command=/usr/bin/neko serve --static "/var/www" --display %(ENV_DISPLAY)s --bind :%(ENV_PORT_NOVNC_WEB)s
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s",XDG_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s"
|
|
stopsignal=INT
|
|
stopwaitsecs=5
|
|
stdout_logfile=/home/%(ENV_USER)s/.cache/log/neko.log
|
|
stdout_logfile_maxbytes=10MB
|
|
stdout_logfile_backups=7
|
|
stderr_logfile=/home/%(ENV_USER)s/.cache/log/neko.err.log
|
|
stderr_logfile_maxbytes=10MB
|
|
stderr_logfile_backups=7
|