mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-13 01:05:37 +02:00
## Description **What issue are you solving (or what feature are you adding) and how are you doing it?** fix startup.sh by ryan himself
14 lines
369 B
Bash
14 lines
369 B
Bash
#!/bin/bash
|
|
#TODO: Fix the warp-input startup problem
|
|
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
|