refactor: need to add renterd-api-password config arg
This commit is contained in:
parent
38b76155af
commit
4831b8b68f
|
@ -23,6 +23,7 @@ func Init() {
|
||||||
pflag.String("database.password", "", "Database password")
|
pflag.String("database.password", "", "Database password")
|
||||||
pflag.String("database.name", "lumeweb_portal", "Database name")
|
pflag.String("database.name", "lumeweb_portal", "Database name")
|
||||||
pflag.String("database.path", "./db.sqlite", "Database path for SQLite")
|
pflag.String("database.path", "./db.sqlite", "Database path for SQLite")
|
||||||
|
pflag.String("renterd-api-password", ".", "admin password for renterd")
|
||||||
pflag.Parse()
|
pflag.Parse()
|
||||||
|
|
||||||
err := viper.BindPFlags(pflag.CommandLine)
|
err := viper.BindPFlags(pflag.CommandLine)
|
||||||
|
|
Loading…
Reference in New Issue