From 4dfec910fd4c4a4a08a132adc4158e99c29f7670 Mon Sep 17 00:00:00 2001 From: runbtc <143069848+runbtc@users.noreply.github.com> Date: Sat, 7 Dec 2024 22:25:36 -0800 Subject: [PATCH] Additional updates to Bisq config in install script --- production/install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/production/install b/production/install index 1342b249b95..be49c2b30e1 100755 --- a/production/install +++ b/production/install @@ -1449,7 +1449,6 @@ if [ "${BISQ_INSTALL}" = ON ];then echo "[*] Installing Bisq environment file" osSudo "${ROOT_USER}" install -c -o "${ROOT_USER}" -g "${ROOT_GROUP}" -m 644 "${BISQ_HOME}/${BISQ_REPO_NAME}/seednode/bisq.env" "${DEBIAN_ENV_HOME}/bisq.env" - osSudo "${ROOT_USER}" sed -i.orig "s!__BISQ_APP_NAME__!${BISQ_APP_NAME}!" "${DEBIAN_ENV_HOME}/bisq.env" osSudo "${ROOT_USER}" sed -i.orig "s!__BISQ_HOME__!${BISQ_HOME}!" "${DEBIAN_ENV_HOME}/bisq.env" osSudo "${ROOT_USER}" sed -i.orig "s/__BITCOIN_P2P_HOST__/${BITCOIN_MAINNET_P2P_HOST}/" "${DEBIAN_ENV_HOME}/bisq.env" osSudo "${ROOT_USER}" sed -i.orig "s/__BITCOIN_P2P_PORT__/${BITCOIN_MAINNET_P2P_PORT}/" "${DEBIAN_ENV_HOME}/bisq.env" @@ -1457,8 +1456,13 @@ if [ "${BISQ_INSTALL}" = ON ];then osSudo "${ROOT_USER}" sed -i.orig "s/__BITCOIN_RPC_PORT__/${BITCOIN_MAINNET_RPC_PORT}/" "${DEBIAN_ENV_HOME}/bisq.env" osSudo "${ROOT_USER}" sed -i.orig "s/__BITCOIN_RPC_USER__/${BITCOIN_RPC_USER}/" "${DEBIAN_ENV_HOME}/bisq.env" osSudo "${ROOT_USER}" sed -i.orig "s/__BITCOIN_RPC_PASS__/${BITCOIN_RPC_PASS}/" "${DEBIAN_ENV_HOME}/bisq.env" + osSudo "${ROOT_USER}" sed -i.orig "s/__BITCOIN_RPC_BLOCKNOTIFY_HOST__/${BISQ_BLOCKNOTIFY_HOST}/" "${DEBIAN_ENV_HOME}/bisq.env" + osSudo "${ROOT_USER}" sed -i.orig "s/__BITCOIN_RPC_BLOCKNOTIFY_PORT__/${BISQ_BLOCKNOTIFY_PORT}/" "${DEBIAN_ENV_HOME}/bisq.env" + osSudo "${ROOT_USER}" sed -i.orig "s!BISQ_APP_NAME=bisq-seednode!BISQ_APP_NAME=bisq-statsnode!" "${DEBIAN_ENV_HOME}/bisq.env" + osSudo "${ROOT_USER}" sed -i.orig "s!BISQ_ENTRYPOINT=seednode/build/app/bin/bisq-seednode!BISQ_ENTRYPOINT=statsnode/build/app/bin/bisq-statsnode!" "${DEBIAN_ENV_HOME}/bisq.env" osSudo "${ROOT_USER}" sed -i.orig "s/BISQ_DUMP_BLOCKCHAIN=false/BISQ_DUMP_BLOCKCHAIN=true/" "${DEBIAN_ENV_HOME}/bisq.env" osSudo "${ROOT_USER}" sed -i.orig "s/BISQ_DUMP_STATISTICS=false/BISQ_DUMP_STATISTICS=true/" "${DEBIAN_ENV_HOME}/bisq.env" + osSudo "${ROOT_USER}" sed -i.orig "s!-Xmx4096M!-Xmx8192M!" "${DEBIAN_SERVICE_HOME}/bisq.env" if [ "${BITCOIN_INSTALL}" = ON ];then echo "[*] Updating Bitcoin configuration for Bisq"