storj/cmd/multinode/entrypoint
Sembeth 0408997e6c
cmd/multinode: Removes dependency on deprecated identity-dir flag, code and documentation. (#5646)
* The Multinode Dashboard no longer requires the identity files.

* Removed deprecated code that used the identity-dir.
2023-03-08 13:56:15 +01:00

12 lines
262 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
if [[ ! -f "/app/config/config.yaml" ]]; then
./multinode setup --config-dir config
fi
RUN_PARAMS="${RUN_PARAMS:-} --config-dir config"
RUN_PARAMS="${RUN_PARAMS:-} --console.address=:15002"
exec ./multinode run $RUN_PARAMS "$@"