mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-10 02:13:44 +02:00
Add reinstall abilities and cleanup process for new servers
This commit is contained in:
@@ -44,6 +44,10 @@ class OptionController extends Controller
|
||||
'install' => (! $server->option->script_install) ? null : str_replace(["\r\n", "\n", "\r"], "\n", $server->option->script_install),
|
||||
'privileged' => $server->option->script_is_privileged,
|
||||
],
|
||||
'config' => [
|
||||
'container' => $server->option->script_container,
|
||||
'entry' => $server->option->script_entry,
|
||||
],
|
||||
'env' => $environment->merge([
|
||||
'STARTUP=' . $server->startup,
|
||||
'SERVER_MEMORY=' . $server->memory,
|
||||
|
||||
Reference in New Issue
Block a user