adding /usr/local/etc/seaweedfs for bsd style config search path

related to https://reviews.freebsd.org/D27391
This commit is contained in:
Chris Lu
2020-12-07 16:46:48 -08:00
parent fce8803087
commit 06bb7bf6c0
3 changed files with 3 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ var cmdFiler = &Command{
//return a json format subdirectory and files listing
GET /path/to/
The configuration file "filer.toml" is read from ".", "$HOME/.seaweedfs/", or "/etc/seaweedfs/", in that order.
The configuration file "filer.toml" is read from ".", "$HOME/.seaweedfs/", "/usr/local/etc/seaweedfs/", or "/etc/seaweedfs/", in that order.
The example filer.toml configuration file can be generated by "weed scaffold -config=filer"