Allow multiple startup commands per egg (#1656)

This commit is contained in:
Boy132
2025-10-07 23:42:28 +02:00
committed by GitHub
parent a58ae874f3
commit cd965678b7
33 changed files with 301 additions and 146 deletions

View File

@@ -112,6 +112,7 @@ return [
'startup' => [
'edit' => 'Changed the <b>:variable</b> variable from "<b>:old</b>" to "<b>:new</b>"',
'image' => 'Updated the Docker Image for the server from <b>:old</b> to <b>:new</b>',
'command' => 'Updated the Startup Command for the server from <b>:old</b> to <b>:new</b>',
],
'subuser' => [
'create' => 'Added <b>:email</b> as a subuser',

View File

@@ -37,8 +37,11 @@ return [
'author_help_edit' => 'The author of this version of the Egg. Uploading a new configuration from a different author will change this.',
'description' => 'Description',
'description_help' => 'A description of this Egg that will be displayed throughout the Panel as needed.',
'startup' => 'Startup Command',
'startup_help' => 'The default startup command that should be used for new servers using this Egg.',
'add_startup' => 'Add Startup Command',
'startup_command' => 'Command',
'startup_commands' => 'Startup Commands',
'startup_name' => 'Display Name',
'startup_help' => 'The startup commands available to servers using this Egg. The first one is the default.',
'file_denylist' => 'File Denylist',
'file_denylist_help' => 'A list of files that the end user is not allowed to edit.',
'features' => 'Features',
@@ -51,7 +54,7 @@ return [
'docker_images' => 'Docker Images',
'docker_name' => 'Image Name',
'docker_uri' => 'Image URI',
'docker_help' => 'The docker images available to servers using this Egg.',
'docker_help' => 'The docker images available to servers using this Egg. The first one is the default.',
'stop_command' => 'Stop Command',
'stop_command_help' => 'The command that should be sent to server processes to stop them gracefully. If you need to send a SIGINT you should enter ^C here.',

View File

@@ -26,7 +26,9 @@ return [
'already_primary' => 'Already Primary',
'make_primary' => 'Make Primary',
'startup_cmd' => 'Startup Command',
'startup_name' => 'Startup Name',
'default_startup' => 'Default Startup Command',
'startup_placeholder' => 'Enter a custom startup command',
'variables' => 'Variables',
'resource_limits' => 'Resource Limits',
'cpu' => 'CPU',

View File

@@ -3,7 +3,10 @@
return [
'title' => 'Startup',
'command' => 'Startup Command',
'preview' => 'Preview',
'notification_startup' => 'Startup Command Updated',
'notification_startup_body' => 'Restart the server to use the new startup command.',
'enable_preview' => 'Enable Preview',
'disable_preview' => 'Disable Preview',
'docker_image' => 'Docker Image',
'notification_docker' => 'Docker Image Updated',
'notification_docker_body' => 'Restart the server to use the new image.',