panel
panel copied to clipboard
Custom Restart Command
Is there an existing feature request for this?
- [X] I have searched the existing issues before opening this feature request.
Describe the feature you would like to see.
Having the ability to set a custom command for when you use the Restart button on Panel would be really useful, especially for some servers that preserve data on restart and not when stopped.
Describe the solution you'd like.
Add a way to define a custom restart command on the egg menu.
Additional context to this request.
Some servers, as mentioned, preserve data when restarting, but not when stopping. Having the ability to set the restart command would be very useful for those reasons.
You can already customise the stop command on the egg, which would be used for restarting too.
@victiondev That's would make the stop command restart instead of actually stopping. That's not necessarily a fix for this specific request.
I don't like this idea. Restarting a server is more than just restarting the application inside of the container, it also allows Wings to update the image, any settings, port mappings, etc. While this option would be opt-in, I see it causing problems when it is used without a user's knowledge.