From 420f0683764ce97080ad6fb7dec4df3aa75480bc Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 22 Sep 2018 22:12:06 -0700 Subject: [PATCH] add more instructions --- weed/command/scaffold.go | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index 174e21c5e..1f76cbfea 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -47,6 +47,11 @@ func runScaffold(cmd *Command, args []string) bool { const ( FILER_TOML_EXAMPLE = ` # A sample TOML config file for SeaweedFS filer store +# Used with "weed filer" or "weed server -filer" +# Put this file to one of the location, with descending priority +# ./filer.toml +# $HOME/.seaweedfs/filer.toml +# /etc/seaweedfs/filer.toml [memory] # local in memory, mostly for testing purpose @@ -143,8 +148,12 @@ topic = "seaweedfs_filer" ` REPLICATION_TOML_EXAMPLE = ` -# A sample TOML config file for replicating SeaweedFS filer store - +# A sample TOML config file for replicating SeaweedFS filer +# Used with "weed filer.replicate" +# Put this file to one of the location, with descending priority +# ./replication.toml +# $HOME/.seaweedfs/replication.toml +# /etc/seaweedfs/replication.toml [source.filer] enabled = true