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