🐛 fix(server): Fix startup aswell change supervisord's username to use nestri (#82)

This commit is contained in:
pure
2024-06-06 23:01:06 +02:00
committed by GitHub
parent fd4f575b46
commit 25c29f007e
2 changed files with 2 additions and 4 deletions

View File

@@ -4,10 +4,8 @@ if [ -z "$SESSION_ID" ]; then
echo "Error: SESSION_ID environment variable is not set."
exit 1
fi
#Open udp port to listed for QUIC events on
export PORT=${PORT:-"8080"}
sudo sed -i 's|^autostart.*=.*$|autostart=true|' /etc/supervisord.d/game.ini
sudo -E /usr/bin/supervisord -c /etc/supervisord.conf

View File

@@ -1,5 +1,5 @@
[supervisord]
user=netris
user=nestri
nodaemon=true
loglevel=info
logfile=/tmp/supervisord.log