From d8de9cb9340bd7a56d582e7738efc8b63bcf3b1a Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 19 Mar 2022 16:02:14 +0000 Subject: [PATCH] Create zfs filesystem for /backup and chown to mempool --- production/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/production/install b/production/install index ce1d4f718..e86a25f17 100755 --- a/production/install +++ b/production/install @@ -440,6 +440,8 @@ osCertbotDryRun() zfsCreateFilesystems() { + zfs create -o "mountpoint=/backup" "${ZPOOL}/backup" + zfs create -o "mountpoint=${ELEMENTS_HOME}" "${ZPOOL}/elements" zfs create -o "mountpoint=${BITCOIN_HOME}" "${ZPOOL}/bitcoin" zfs create -o "mountpoint=${ELECTRS_HOME}" "${ZPOOL}/electrs" @@ -816,6 +818,7 @@ id "${MEMPOOL_USER}" echo "[*] Creating Mempool data folder" osSudo "${ROOT_USER}" mkdir -p "${MEMPOOL_HOME}" osSudo "${ROOT_USER}" chown -R "${MEMPOOL_USER}:${MEMPOOL_GROUP}" "${MEMPOOL_HOME}" +osSudo "${ROOT_USER}" chown -R "${MEMPOOL_USER}:${MEMPOOL_GROUP}" /backup osSudo "${MEMPOOL_USER}" touch "${MEMPOOL_HOME}/.zshrc" echo "[*] Cloning Mempool repo from ${MEMPOOL_REPO_URL}"