a5af25c9c2
* Fix docker images, again * Limit jenkins to only one build of a branch at a time
15 lines
297 B
Bash
Executable File
15 lines
297 B
Bash
Executable File
#!/bin/sh
|
|
set -euo pipefail
|
|
|
|
if [[ ! -d "${CONF_PATH}" ]]; then
|
|
./storagenode setup
|
|
fi
|
|
|
|
RUN_PARAMS="${RUN_PARAMS:-} --config-dir ${CONF_PATH}"
|
|
|
|
if [ -n "${SATELLITE_ADDR:-}" ]; then
|
|
RUN_PARAMS="${RUN_PARAMS} --kademlia.bootstrap-addr $SATELLITE_ADDR"
|
|
fi
|
|
|
|
exec ./storagenode run $RUN_PARAMS "$@"
|