github.com/mysteriumnetwork/node@v0.0.0-20240516044423-365054f76801/bin/docker/docker-entrypoint.sh (about) 1 #!/bin/bash 2 set -e 3 4 export OS_DIR_DATA="/var/lib/mysterium-node" 5 export OS_DIR_RUN="/var/run/mysterium-node" 6 7 # TODO remove this block once all container migrated to new config path. 8 export OS_DIR_CONFIG="/etc/mysterium-node" 9 if [ -f $OS_DIR_CONFIG/config.toml ]; then 10 mv $OS_DIR_CONFIG/config.toml $OS_DIR_DATA 11 fi 12 13 /usr/local/bin/prepare-run-env.sh 14 15 exec /usr/bin/myst \ 16 --config-dir=$OS_DIR_DATA \ 17 --script-dir=$OS_DIR_CONFIG \ 18 --data-dir=$OS_DIR_DATA \ 19 --runtime-dir=$OS_DIR_RUN \ 20 --local-service-discovery=false \ 21 $@