mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-07 20:15:31 -05: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",
|
Name: "users-driver",
|
||||||
Value: flags.OverrideDefaultString(cfg.StorageUsersDriver, "ocis"),
|
Value: flags.OverrideDefaultString(cfg.StorageUsersDriver, "ocis"),
|
||||||
Usage: "storage driver for users mount: eg. local, eos, owncloud, ocis or s3",
|
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,
|
Destination: &cfg.StorageUsersDriver,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user