Removal of start.sh #20

Closed
opened 2026-02-05 16:39:15 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @DeadlykillOfficial on GitHub (Jan 15, 2026).

Is there a way for us to get the start.sh removed as this allows any user to type any kind of Bash command.
It is possible that we integrate it perhaps into the image itself so it is immutable? And then have the egg itself run as java .... fixed startup command?

Originally created by @DeadlykillOfficial on GitHub (Jan 15, 2026). Is there a way for us to get the start.sh removed as this allows any user to type any kind of Bash command. It is possible that we integrate it perhaps into the image itself so it is immutable? And then have the egg itself run as `java ....` fixed startup command?
Author
Owner

@NATroutter commented on GitHub (Jan 15, 2026):

If you need to run a custom startup, you can simply replace the startup command from ./start.sh with whatever custom command you want.

The start.sh is embedded into the image and, on every server start, it is copied from the image into the server directory. This keeps the startup logic consistent and avoids cluttering the egg startup. If you take the time to research how Hytale servers need to be started and look at what start.sh actually does, you will see that a lot of logic is involved. Converting all of that into a single line and putting it into the startup field would be a complete mess and much harder to maintain. And if you are concerned about security, it does not change anything whether it runs in start.sh or directly in the startup command.

@NATroutter commented on GitHub (Jan 15, 2026): If you need to run a custom startup, you can simply replace the startup command from ./start.sh with whatever custom command you want. The start.sh is embedded into the image and, on every server start, it is copied from the image into the server directory. This keeps the startup logic consistent and avoids cluttering the egg startup. If you take the time to research how Hytale servers need to be started and look at what start.sh actually does, you will see that a lot of logic is involved. Converting all of that into a single line and putting it into the startup field would be a complete mess and much harder to maintain. And if you are concerned about security, it does not change anything whether it runs in start.sh or directly in the startup command.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/egg-hytale#20