Skip to content

Conversation

@TwigGlenn4
Copy link

The variables world_id and server_port meant to be in run.sh are evaluated as empty before being written to run.sh by both start.sh and Docker.sh. This means that when using run.sh to start the server, the values stored in world_id and server_port were unused. Also, the server restart date was similarly evaluated during writing by start.sh, and would be stored in run.sh as the time the script was created.
I've escaped them with a backslash (as was already done in Docker.sh for $(date)), so the created file now contains the variables as intended. I've tested this on Ubuntu 25.04 and 24.04 using start.sh, and I've verified that the run.sh created by docker correctly contains the variables by temporarily adding cat run.sh after writing it in Docker.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant