|
|
@ -165,12 +165,12 @@ func checkUpdate() { |
|
|
|
|
|
|
|
|
|
|
|
// Generic Minio initialization to create/load config, prepare loggers, etc..
|
|
|
|
// Generic Minio initialization to create/load config, prepare loggers, etc..
|
|
|
|
func minioInit(ctx *cli.Context) { |
|
|
|
func minioInit(ctx *cli.Context) { |
|
|
|
// Sets new config directory.
|
|
|
|
|
|
|
|
setGlobalConfigPath(globalConfigDir) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Set global variables after parsing passed arguments
|
|
|
|
// Set global variables after parsing passed arguments
|
|
|
|
setGlobalsFromContext(ctx) |
|
|
|
setGlobalsFromContext(ctx) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Sets new config directory.
|
|
|
|
|
|
|
|
setGlobalConfigPath(globalConfigDir) |
|
|
|
|
|
|
|
|
|
|
|
// Is TLS configured?.
|
|
|
|
// Is TLS configured?.
|
|
|
|
globalIsSSL = isSSL() |
|
|
|
globalIsSSL = isSSL() |
|
|
|
|
|
|
|
|
|
|
|