🐛 fix(server): Final touches (#66)

## 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
This commit is contained in:
Wanjohi
2024-05-30 01:53:07 +03:00
committed by GitHub
parent 9a11f459cb
commit 674124e819
4 changed files with 572 additions and 320 deletions

View File

@@ -10,6 +10,7 @@ files = /etc/supervisord.d/*.ini
[program:entrypoint]
command=/etc/entrypoint.sh
user=netris
logfile=/tmp/entrypoint.log
pidfile=/tmp/entrypoint.pid
stopsignal=INT
@@ -35,7 +36,7 @@ command=bash -c "until [ -S \"/tmp/.X11-unix/X${DISPLAY/:/}\" ]; do sleep 1; don
logfile=/tmp/warp-input.log
pidfile=/tmp/warp-input.pid
stopsignal=INT
user=%(ENV_USER)s
user=netris
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY=":0",SESSION_ID="%(ENV_SESSION_ID)s"
autostart=true
autorestart=true