Skip to content

Commit

Permalink
🐛 fix(server): Fix startup aswell change supervisord's username to us…
Browse files Browse the repository at this point in the history
…e nestri (#82)
  • Loading branch information
pure5665 authored Jun 6, 2024
1 parent fd4f575 commit 25c29f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .scripts/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .scripts/supervisord.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[supervisord]
user=netris
user=nestri
nodaemon=true
loglevel=info
logfile=/tmp/supervisord.log
Expand Down

0 comments on commit 25c29f0

Please sign in to comment.