Set default lndg credentials
This commit is contained in:
parent
f2c0b73a61
commit
8b1855ba3a
|
@ -55,3 +55,7 @@ have support or patial support.
|
|||
|
||||
- Specter authentication is off by default, but it will store and use its own password.
|
||||
- It is highly recommended to enable authentication.
|
||||
|
||||
## LNDg
|
||||
|
||||
- The default credentials for LNDg are "admin" / "bolt"
|
|
@ -42,6 +42,9 @@ echo "Syncing filesystem..."
|
|||
sleep 1
|
||||
sync
|
||||
|
||||
# Init Dynamic Apps
|
||||
mynode-manage-apps init
|
||||
|
||||
# Reload systemd files
|
||||
systemctl daemon-reload
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ virtualenv -p python3 .venv
|
|||
|
||||
# Patch to store file locally
|
||||
sed -i 's|/usr/local/etc/supervisord.conf|/opt/mynode/lndg/.venv/supervisord.conf|g' initialize.py
|
||||
sed -i 's|lndg-admin|admin|g' initialize.py
|
||||
|
||||
# Init LNDg
|
||||
.venv/bin/python initialize.py --lnddir=/mnt/hdd/mynode/lnd --adminpw=bolt -wn -dx -sd --sduser=lndg
|
||||
|
|
|
@ -2,6 +2,7 @@ from bitcoin_info import *
|
|||
from lightning_info import *
|
||||
from electrum_info import *
|
||||
from device_info import *
|
||||
from drive_info import *
|
||||
from systemctl_info import *
|
||||
from utilities import *
|
||||
import copy
|
||||
|
@ -603,13 +604,15 @@ def init_dynamic_app(app_info):
|
|||
log_message(" TODO: Build dockerfile???")
|
||||
log_message(" TODO: Install dockerfile???")
|
||||
|
||||
# Setup tor hidden service
|
||||
log_message(" TODO: Setup Tor Hidden service")
|
||||
|
||||
log_message(" Done.")
|
||||
|
||||
def init_dynamic_apps():
|
||||
# Ensure external drive is mounted
|
||||
if not is_mynode_drive_mounted():
|
||||
log_message(" ERROR: Data drive not mounted")
|
||||
log_message(" ERROR: Data drive not mounted. Cannot Init Dynamic Apps.")
|
||||
return
|
||||
|
||||
# Loop over each app
|
||||
|
|
Loading…
Reference in New Issue
Block a user