-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Added Dont Strave Together Modded Egg #2657
base: master
Are you sure you want to change the base?
Conversation
"ghcr.io\/parkervcp\/games:source": "ghcr.io\/parkervcp\/games:source" | ||
}, | ||
"file_denylist": [], | ||
"startup": "supervisord -c .\/Supervisord\/supervisord.conf & sleep 1 && cat Warnning.txt & sleep 5 && supervisorctl -c .\/Supervisord\/supervisord.conf", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not allowed. As this way the startup is user editable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any better ideas or solution? well, all Im asking is to get modded server to work properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not allowed. As this way the startup is user editable.
Can I bulid this into the source image for blocking user editing it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not allowed. As this way the startup is user editable.
Can I bulid this into the source image for blocking user editing it.
Then that would need to be a custom image added to the game registrar
Description
This separate egg is meant to fix a bug caused by original DST egg, the server in co-process wont start if mod added. This egg uses Superivisord to manage multiple processes, which is recommended by Docker official website.
However, there is an imperfection in this egg implementation, due to the bad design of the server software. It wont take any linux standard signal for exiting, only “c_shutdown()”. I have tried many ways to implement a shutdown method to gracefully shutdown both shards of the game, but it seemed the tries are waste of time and might requrie more package to be added. Thus I made a warnning in stead to alert the user to manually shutdown the servers, anyway its a modded server, currently no better way to solve it. But its definitely better to have a broken server-stop, rather than a broken server-start which causes confusion to the user.
( I literally have spent many month to figure out why the cave shard wont start when certain mods added )
Checklist for all submissions
New egg Submissions