mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Allow multiple startup commands per egg (#1656)
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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.',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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.',
|
||||
|
||||
Reference in New Issue
Block a user