github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/deploy/dev/docker/entrypoint/entrypoint.sh (about)

     1  #!/bin/bash
     2  
     3  # required for `source /aisnode_config.sh`
     4  export TEST_FSPATH_ROOT=${MOUNTPATH}/${HOSTNAME}
     5  export AIS_LOG_DIR=${TEST_FSPATH_ROOT}/log
     6  mkdir -p ${AIS_CONF_DIR}
     7  mkdir -p ${TEST_FSPATH_ROOT}
     8  mkdir -p ${AIS_LOG_DIR}
     9  export GOCACHE=/tmp/.gocache
    10  mkdir -p /tmp/.gocache
    11  touch ${AIS_LOG_DIR}/statsd.log
    12  source /aisnode_config.sh
    13  
    14  exec node /statsd/stats.js ${STATSD_CONF_FILE} 2>&1 | tee -a ${AIS_LOG_DIR}/statsd.log &
    15  
    16  ${GOBIN}/aisnode \
    17      -config=${AIS_CONF_FILE} \
    18      -local_config=${AIS_LOCAL_CONF_FILE} \
    19      -role=${AIS_NODE_ROLE} \
    20      -ntargets=${TARGET_CNT} \
    21      -nodiskio=${AIS_NO_DISK_IO} \
    22      -dryobjsize=${AIS_DRY_OBJ_SIZE}