diff --git a/.scripts/startup.sh b/.scripts/startup.sh index 7e02b4e0..938326ac 100644 --- a/.scripts/startup.sh +++ b/.scripts/startup.sh @@ -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 diff --git a/.scripts/supervisord.conf b/.scripts/supervisord.conf index fb5ae2f0..7fbc50ae 100644 --- a/.scripts/supervisord.conf +++ b/.scripts/supervisord.conf @@ -1,5 +1,5 @@ [supervisord] -user=netris +user=nestri nodaemon=true loglevel=info logfile=/tmp/supervisord.log