Check if JM install cert script exists

This commit is contained in:
Taylor Helsper 2023-12-21 16:16:24 -06:00
parent 51481805ee
commit ce217d4438

View File

@ -454,7 +454,9 @@ if [ ! -f /mnt/hdd/mynode/joinmarket/update_settings_$JOINMARKET_CONFIG_UPDATE_N
fi
sed -i "s/#max_cj_fee_abs = x/max_cj_fee_abs = 2000/g" /mnt/hdd/mynode/joinmarket/joinmarket.cfg
sed -i "s/#max_cj_fee_rel = x/max_cj_fee_rel = 0.001/g" /mnt/hdd/mynode/joinmarket/joinmarket.cfg
sudo -u joinmarket /home/joinmarket/install.selfsignedcert.sh || true
if [ -f /home/joinmarket/install.selfsignedcert.sh ]; then
sudo -u joinmarket /home/joinmarket/install.selfsignedcert.sh || true
fi
chown -R joinmarket:joinmarket /mnt/hdd/mynode/joinmarket
# Setup Mempool