Don't run install scripts if disabled; closes pterodactyl/panel#2265

This commit is contained in:
Dane Everitt
2020-08-30 09:41:14 -07:00
parent 9780cf902d
commit c69a0bb107
4 changed files with 29 additions and 8 deletions

View File

@@ -20,6 +20,10 @@ type Configuration struct {
// The command that should be used when booting up the server instance.
Invocation string `json:"invocation"`
// By default this is false, however if selected within the Panel while installing or re-installing a
// server, specific installation scripts will be skipped for the server process.
SkipEggScripts bool `default:"false" json:"skip_egg_scripts"`
// An array of environment variables that should be passed along to the running
// server process.
EnvVars environment.Variables `json:"environment"`