- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for serverCmdArgs (0.31 sec)
-
cmd/common-main.go
ctxt.ShutdownTimeout = ctx.Duration("shutdown-timeout") if conf := ctx.String("config"); len(conf) > 0 { err = mergeServerCtxtFromConfigFile(conf, ctxt) } else { err = mergeDisksLayoutFromArgs(serverCmdArgs(ctx), ctxt) } return err } func handleCommonArgs(ctxt serverCtxt) { if ctxt.JSON { logger.EnableJSON() } if ctxt.Quiet { logger.EnableQuiet() } if ctxt.Anonymous {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 31.5K bytes - Viewed (0) -
cmd/server-main.go
--ftp="address=:8021" --ftp="passive-port-range=30000-40000" \ --sftp="address=:8022" --sftp="ssh-private-key=${HOME}/.ssh/id_rsa" `, } func serverCmdArgs(ctx *cli.Context) []string { v, _, _, err := env.LookupEnv(config.EnvArgs) if err != nil { logger.FatalIf(err, "Unable to validate passed arguments in %s:%s", config.EnvArgs, os.Getenv(config.EnvArgs)) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 04 15:12:57 UTC 2024 - 34.5K bytes - Viewed (2)