mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 06:48:00 +01:00
rtl: make LiT port 8443 default for Loop in RTL
This commit is contained in:
parent
2eab1be733
commit
be6e9bbbc9
1 changed files with 2 additions and 1 deletions
|
@ -61,7 +61,7 @@ echo "# making sure services are not running"
|
|||
sudo systemctl stop RTL 2>/dev/null
|
||||
|
||||
function configRTL() {
|
||||
SWAPSERVERPORT=8081
|
||||
SWAPSERVERPORT=8443
|
||||
if [ "$(grep -Ec "(loop=|lit=)" < /mnt/hdd/raspiblitz.conf)" -gt 0 ];then
|
||||
if [ $lit = on ];then
|
||||
echo "# Add the rtl user to the lit group"
|
||||
|
@ -76,6 +76,7 @@ function configRTL() {
|
|||
echo "# Symlink the loop.macaroon"
|
||||
sudo rm -rf "/home/rtl/.loop" # delete symlink
|
||||
sudo ln -s "/home/loop/.loop/" "/home/rtl/.loop" # create symlink
|
||||
SWAPSERVERPORT=8081
|
||||
fi
|
||||
echo "# Make the loop macaroon group readable"
|
||||
sudo chmod 640 /home/rtl/.loop/mainnet/macaroons.db
|
||||
|
|
Loading…
Add table
Reference in a new issue