Oddbean new post about | logout
 @Mike Dilger 
is there identity switch in #gossip or maybe ability to run multiple gossip instances, each with different identity? 
 I do that with different Unix accounts. But you could just use GOSSIP_PROFILE or GOSSIP_DIR to point to a different data dir or profile name.  Env cars. 
 It should be working.  It gets the env variable and makes that a subdirectory of your gossip dir. Then it starts a new database in the subdirectory.

There are a few cases it might print an error (watch for errors at startup) like "cache" (reserved) or anything with a "/" in it or otherwise is not a simple directory name.

Make sure the env variable is getting passed to the gossip process either by exporting it from your shell (e.g. export GOSSIP_DIR=blah) or typing it on the same command line as gossip (e.g. GOSSIP_DIR=blah ./target/release/gossip)