Add a bit of doc on init --profile
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
Łukasz Magiera committed
Jun 21, 2017 at 18:05 UTC
140de0a83dc4d4c5d0ac0a7d169c5ab970fd54ae
1 file changed
+7
cmd/ipfs/init.go
+7
@@ -58,6 +58,13 @@ var initCmd = &cmds.Command{
58
ShortDescription: `
59
Initializes ipfs configuration files and generates a new keypair.
60
61
+If you are going to run IPFS in server environment, you may want to
62
+initialize it using 'server' profile.
63
+
64
+Available profiles:
65
+ 'server' - Disables local host discovery, recommended when
66
+ running IPFS on machines with public IPv4 addresses.
67
+
68
ipfs uses a repository in the local file system. By default, the repo is
69
located at ~/.ipfs. To change the repo location, set the $IPFS_PATH
70
environment variable: