kopia lustrzana https://github.com/bugout-dev/moonstream
Build executable of probes
rodzic
b92342e233
commit
2c51435cf1
|
@ -63,6 +63,14 @@ if [ ! -d "${CONFIGS_DIR}" ]; then
|
|||
fi
|
||||
cp "${SCRIPT_DIR}/configs/${ENGINE_CLEAN_CALL_REQUESTS}" "${CONFIGS_DIR}/${ENGINE_CLEAN_CALL_REQUESTS}"
|
||||
|
||||
echo
|
||||
echo
|
||||
echo -e "${PREFIX_INFO} Building executable probes application with Go"
|
||||
EXEC_DIR=$(pwd)
|
||||
cd "${APP_DIR}/probes"
|
||||
HOME=/home/ubuntu /usr/local/go/bin/go build -o "${APP_DIR}/probes/probes" "${APP_DIR}/probes/cmd/probes/*.go"
|
||||
cd "${EXEC_DIR}"
|
||||
|
||||
echo
|
||||
echo
|
||||
echo -e "${PREFIX_INFO} Replacing existing probes service and timer with: ${PROBES_SERVICE_FILE}"
|
||||
|
|
Ładowanie…
Reference in New Issue