Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for serverHandleEarlyEnvVars (0.21 sec)

  1. cmd/common-main.go

    		if err != nil && !os.IsNotExist(err) {
    			logger.Fatal(err, "Unable to read the config environment file")
    		}
    		for _, ekv := range ekvs {
    			os.Setenv(ekv.Key, ekv.Value)
    		}
    	}
    }
    
    func serverHandleEarlyEnvVars() {
    	var err error
    	globalBrowserEnabled, err = config.ParseBool(env.Get(config.EnvBrowser, config.EnableOn))
    	if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. cmd/server-main.go

    			logger.Fatal(err, "invalid --logrorate-dir option")
    		}
    	})
    
    	// Always load ENV variables from files first.
    	loadEnvVarsFromFiles()
    
    	// Handle early server environment vars
    	serverHandleEarlyEnvVars()
    
    	// Handle all server command args and build the disks layout
    	bootstrapTrace("serverHandleCmdArgs", func() {
    		err := buildServerCtxt(ctx, &globalServerCtxt)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (3)
Back to top