|
|
|
@ -218,6 +218,9 @@ func serverMain(ctx *cli.Context) { |
|
|
|
|
logger.EnableQuiet() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Handle all server command args.
|
|
|
|
|
serverHandleCmdArgs(ctx) |
|
|
|
|
|
|
|
|
|
// Create certs path.
|
|
|
|
|
logger.FatalIf(createConfigDir(), "Unable to initialize configuration files") |
|
|
|
|
|
|
|
|
@ -230,9 +233,6 @@ func serverMain(ctx *cli.Context) { |
|
|
|
|
globalRootCAs, err = getRootCAs(getCADir()) |
|
|
|
|
logger.FatalIf(err, "Failed to read root CAs (%v)", err) |
|
|
|
|
|
|
|
|
|
// Handle all server command args.
|
|
|
|
|
serverHandleCmdArgs(ctx) |
|
|
|
|
|
|
|
|
|
// Handle all server environment vars.
|
|
|
|
|
serverHandleEnvVars() |
|
|
|
|
|
|
|
|
|