mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 00:05:36 +02:00
## Description **What issue are you solving (or what feature are you adding) and how are you doing it?** This is a catch all PR that tries to smooth out the creases found while playing using Netris. What i have found so far: 1. Change `NAME` environment to `SESSION_ID` for warp server. 2. Run `entrypoint.sh` and `warp-input` as user `netris` 3. Netris-proton is broken, it quits prematurely. I think it has to be a problem with a missing wine installation
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
[supervisord]
|
|
user=netris
|
|
nodaemon=true
|
|
loglevel=info
|
|
logfile=/tmp/supervisord.log
|
|
pidfile=/tmp/supervisord.pid
|
|
|
|
[include]
|
|
files = /etc/supervisord.d/*.ini
|
|
|
|
[program:entrypoint]
|
|
command=/etc/entrypoint.sh
|
|
user=netris
|
|
logfile=/tmp/entrypoint.log
|
|
pidfile=/tmp/entrypoint.pid
|
|
stopsignal=INT
|
|
autostart=true
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
priority=1
|
|
|
|
[program:pulseaudio]
|
|
user=netris
|
|
command=bash -c "until [ -S \"/tmp/.X11-unix/X${DISPLAY/:/}\" ]; do sleep 1; done; sudo /usr/bin/pulseaudio -k >/dev/null 2>&1 || sudo /usr/bin/pulseaudio --system --verbose --log-target=stderr --realtime=true --disallow-exit -L 'module-native-protocol-tcp auth-ip-acl=127.0.0.0/8 port=4713 auth-anonymous=1'"
|
|
environment=DISPLAY=":0"
|
|
logfile=/tmp/pulseaudio.log
|
|
pidfile=/tmp/pulseaudio.pid
|
|
stopsignal=INT
|
|
autostart=true
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
priority=10
|
|
|
|
[program:warp-input]
|
|
command=bash -c "until [ -S \"/tmp/.X11-unix/X${DISPLAY/:/}\" ]; do sleep 1; done; /usr/bin/warp-input --namespace $SESSION_ID --bind '[::]:8080' https://fst.so:4443"
|
|
logfile=/tmp/warp-input.log
|
|
pidfile=/tmp/warp-input.pid
|
|
stopsignal=INT
|
|
user=netris
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY=":0",SESSION_ID="%(ENV_SESSION_ID)s"
|
|
autostart=true
|
|
autorestart=true
|
|
startretries=100
|
|
redirect_stderr=true
|
|
priority=20 |