storj/cmd
Cameron Ayer 07acf0e574 cmd/storagenode: add docker env variable to toggle running setup
Previously, we ran setup if no config file was found in the expected dir.
However, there may be situations where a previously set up node's files
may be unreachable. In this case, we would prefer to exit with an error
rather than assume this node needs to be initialized.

The solution here is to add a new env variable to call the setup command.
If SETUP == true, the node will setup, but not run. If SETUP != true,
the node will run and not setup.

If a previously set up node runs with SETUP, it will return an error.
If a node runs without an initial SETUP, it will return an error.

Change-Id: Id2c796ec3d43f2add5e5f34fb777a563eae59f2f
2020-11-11 13:11:19 +00:00
..
certificates certificate/authorization: add ctx to OpenDB 2020-10-29 09:46:23 +02:00
identity pkg/revocation: pass ctx into opening the database 2020-10-29 07:15:36 +00:00
inspector satellite/internalpb: add inspectors 2020-10-30 13:28:17 +02:00
internal cmd/internal/wizard: select satellite 2020-11-10 15:26:05 -07:00
metric-receiver cmd/metric-receiver: restore minimal metrics server 2020-10-14 20:01:29 +03:00
satellite storage/{cockroachkv,postgreskv}: add ctx to opening 2020-10-29 10:49:08 +00:00
segment-reaper storage/{cockroachkv,postgreskv}: add ctx to opening 2020-10-29 10:49:08 +00:00
storagenode cmd/storagenode: add docker env variable to toggle running setup 2020-11-11 13:11:19 +00:00
storagenode-updater storagenode-updater: check binary version on self-update 2020-10-21 10:54:26 +00:00
storj-admin all: fix linter complaints 2020-10-13 15:59:01 +03:00
storj-sim scripts/tests/testversions: fix installation during setup 2020-11-10 20:38:49 +00:00
uplink cmd/uplink: add access register command 2020-11-10 15:25:57 -07:00
versioncontrol private/version: minimal fix for tag-release.sh 2020-04-01 13:46:45 +00:00