Regen joinmarket cert on startup if missing

This commit is contained in:
Taylor Helsper 2023-12-20 22:37:32 -06:00
parent 572b58725d
commit 495bbd2c46

View File

@ -454,6 +454,7 @@ if [ ! -f /mnt/hdd/mynode/joinmarket/update_settings_$JOINMARKET_CONFIG_UPDATE_N
fi 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_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 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
chown -R joinmarket:joinmarket /mnt/hdd/mynode/joinmarket chown -R joinmarket:joinmarket /mnt/hdd/mynode/joinmarket
# Setup Mempool # Setup Mempool