mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 01:10:20 -06:00
add STORAGE_USERS_DRIVER as a fallback env var
This commit is contained in:
@@ -176,7 +176,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
|
||||
Name: "users-driver",
|
||||
Value: flags.OverrideDefaultString(cfg.StorageUsersDriver, "ocis"),
|
||||
Usage: "storage driver for users mount: eg. local, eos, owncloud, ocis or s3",
|
||||
EnvVars: []string{"STORAGE_USERS_DRIVER"},
|
||||
EnvVars: []string{"OCS_STORAGE_USERS_DRIVER", "STORAGE_USERS_DRIVER"},
|
||||
Destination: &cfg.StorageUsersDriver,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user