mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
🐛 fix(server): Fix startup aswell change supervisord's username to use nestri (#82)
This commit is contained in:
@@ -4,10 +4,8 @@ if [ -z "$SESSION_ID" ]; then
|
|||||||
echo "Error: SESSION_ID environment variable is not set."
|
echo "Error: SESSION_ID environment variable is not set."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Open udp port to listed for QUIC events on
|
#Open udp port to listed for QUIC events on
|
||||||
export PORT=${PORT:-"8080"}
|
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
|
sudo -E /usr/bin/supervisord -c /etc/supervisord.conf
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[supervisord]
|
[supervisord]
|
||||||
user=netris
|
user=nestri
|
||||||
nodaemon=true
|
nodaemon=true
|
||||||
loglevel=info
|
loglevel=info
|
||||||
logfile=/tmp/supervisord.log
|
logfile=/tmp/supervisord.log
|
||||||
|
|||||||
Reference in New Issue
Block a user