Add reinstall abilities and cleanup process for new servers

This commit is contained in:
Dane Everitt 2017-04-20 18:52:43 -04:00
parent 3fe5d162f5
commit 8dc24471ae
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
9 changed files with 91 additions and 3 deletions

View file

@ -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,