mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-25 05:28:20 -05:00
change default paths for oCIS services
This commit is contained in:
@@ -8,6 +8,14 @@ import (
|
||||
// RootWithConfig applies cfg to the root flagset
|
||||
func RootWithConfig(cfg *config.Config) []cli.Flag {
|
||||
return []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
// this is just a dummy config flag do document the existence
|
||||
// of this environment variable
|
||||
// the environment variable itself is used in `ocis-pkg/config/defaults/paths.go`
|
||||
Name: "ocis-base-data-path",
|
||||
Usage: "Set the base path where oCIS stores data",
|
||||
EnvVars: []string{"OCIS_BASE_DATA_PATH"},
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "config-file",
|
||||
Usage: "Load config file from a non standard location.",
|
||||
|
||||
Reference in New Issue
Block a user