mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 21:09:24 +08:00
filer: add -defaultStoreDir so that filer.toml can be skipped
fix https://github.com/chrislusf/seaweedfs/issues/1659
This commit is contained in:
@@ -109,6 +109,8 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
|
||||
os.MkdirAll(option.DefaultLevelDbDir, 0755)
|
||||
}
|
||||
glog.V(0).Infof("default to create filer store dir in %s", option.DefaultLevelDbDir)
|
||||
} else {
|
||||
glog.Warningf("skipping default store dir in %s", option.DefaultLevelDbDir)
|
||||
}
|
||||
util.LoadConfiguration("notification", false)
|
||||
|
||||
|
Reference in New Issue
Block a user