diff options
Diffstat (limited to 'weed/command/scaffold.go')
| -rw-r--r-- | weed/command/scaffold.go | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index 40e7437d2..22300d3ba 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -10,7 +10,7 @@ func init() { } var cmdScaffold = &Command{ - UsageLine: "scaffold [filer]", + UsageLine: "scaffold -config=[filer|notification|replication|security]", Short: "generate basic configuration files", Long: `Generate filer.toml with all possible configurations for you to customize. @@ -244,10 +244,14 @@ directory = "/" # destination directory ` SECURITY_TOML_EXAMPLE = ` +# Put this file to one of the location, with descending priority +# ./security.toml +# $HOME/.seaweedfs/security.toml +# /etc/seaweedfs/security.toml # this file is read by master, volume server, and filer -[jwt] -signing_key = "" +[jwt.signing] +key = "" ` ) |
