Open vielmetti opened 1 year ago
Today, there are two ways you could get a different state directory... run the second instance as a different user, so that there is a different user config directory (basically what you're pointing out above), or copy the golink binary and rename it something else. tsnet includes the binary name in the state directory so that two different tsnet programs can side by side.
My goal: use one machine to run two different instances of "golink", so that I can have two independent sets of bookmarks.
This didn't work out of the box - I created a new key, started up the second instance with the
-hostname
flag, and then got the error message on the consoleDuplicate node key
.My suspicion is that I'm running into this:
and that I have to set two separate os.UserConfigDir paths to keep the two things distinct.