From d9576bb2e4db01acb2bbb55b8580d13761f948c7 Mon Sep 17 00:00:00 2001 From: Stephan Oeste Date: Tue, 5 Jul 2022 13:39:29 +0200 Subject: [PATCH] Fix Linux packages, usernames and path in prod install script --- production/install | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/production/install b/production/install index 88b45604a..5fbf27b78 100755 --- a/production/install +++ b/production/install @@ -191,9 +191,9 @@ case $OS in TOR_CONFIGURATION=/etc/tor/torrc TOR_RESOURCES=/var/lib/tor TOR_PKG=tor - TOR_USER=tor-debian - TOR_GROUP=tor-debian - CERTBOT_PKG=python-certbot + TOR_USER=debian-tor + TOR_GROUP=debian-tor + CERTBOT_PKG=python3-certbot-nginx NGINX_CONFIGURATION=/etc/nginx/nginx.conf ;; esac @@ -320,12 +320,12 @@ LIQUIDTESTNET_ASSET_REGISTRY_DB_NAME=asset_registry_testnet_db # packages needed for mempool ecosystem DEBIAN_PKG=() -DEBIAN_PKG+=(zsh vim curl screen openssl python3 dialog) +DEBIAN_PKG+=(zsh vim curl screen openssl python3 dialog cron) DEBIAN_PKG+=(build-essential git git-lfs clang cmake jq) DEBIAN_PKG+=(autotools-dev autoconf automake pkg-config bsdmainutils) -DEBIAN_PKG+=(libevent-dev libdb-dev libssl-dev libtool-dev autotools-dev) +DEBIAN_PKG+=(libevent-dev libdb-dev libssl-dev libtool autotools-dev) DEBIAN_PKG+=(libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev) -DEBIAN_PKG+=(nodejs npm mariadb-server nginx-core python-certbot-nginx rsync ufw) +DEBIAN_PKG+=(nodejs npm mariadb-server nginx-core python3-certbot-nginx rsync ufw) # packages needed for mempool ecosystem FREEBSD_PKG=() @@ -555,7 +555,6 @@ zfsCreateFilesystems() ext4CreateDir() { mkdir -p "/backup" "${ELEMENTS_HOME}" "${BITCOIN_HOME}" "${MINFEE_HOME}" "${ELECTRS_HOME}" "${MEMPOOL_HOME}" "${MYSQL_HOME}" "${BITCOIN_ELECTRS_HOME}" "${ELEMENTS_HOME}/liquidv1" "${ELEMENTS_ELECTRS_HOME}" -exit # Bitcoin Mainnet if [ "${BITCOIN_MAINNET_ENABLE}" = ON ];then for folder in chainstate indexes blocks @@ -1394,7 +1393,7 @@ case $OS in ;; Debian) - osSudo "${ROOT_USER}" install -c -o "${ROOT_USER}" -g "${ROOT_GROUP}" -m 644 "${MEMPOOL_HOME}/${MEMPOOL_REPO_NAME}/production/nginx.conf" "${NGINX_CONFIGURATION}" + osSudo "${ROOT_USER}" install -c -o "${ROOT_USER}" -g "${ROOT_GROUP}" -m 644 "${MEMPOOL_HOME}/${MEMPOOL_REPO_NAME}/production/nginx/nginx.conf" "${NGINX_CONFIGURATION}" #echo "[*] Restarting Nginx" #osSudo "${ROOT_USER}" service nginx restart ;;