aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-09-22 22:12:06 -0700
committerChris Lu <chris.lu@gmail.com>2018-09-22 22:12:06 -0700
commit420f0683764ce97080ad6fb7dec4df3aa75480bc (patch)
treeeff0547dbbea4a4a2892990068bda2e63c46f73b
parentd3e1f20dccb2d29054351fb8f4a052acf30ad59d (diff)
downloadseaweedfs-420f0683764ce97080ad6fb7dec4df3aa75480bc.tar.xz
seaweedfs-420f0683764ce97080ad6fb7dec4df3aa75480bc.zip
add more instructions
-rw-r--r--weed/command/scaffold.go13
1 files 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