mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-12 08:29:16 +00:00
Setup symlinks so admin user can use loop and pool
This commit is contained in:
parent
a99498bbe9
commit
b9ef30efec
|
@ -236,6 +236,18 @@ source /usr/bin/mynode_gen_bitcoin_config.sh
|
||||||
# LND Config
|
# LND Config
|
||||||
source /usr/bin/mynode_gen_lnd_config.sh
|
source /usr/bin/mynode_gen_lnd_config.sh
|
||||||
|
|
||||||
|
# Loop Config (symlink so admin user can run loop commands)
|
||||||
|
if [ ! -L /home/admin/.loop ]; then
|
||||||
|
mv /home/admin/.loop /home/admin/.loop_backup || true
|
||||||
|
ln -s /mnt/hdd/mynode/loop /home/admin/.loop
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Pool Config (symlink so admin user can run pool commands)
|
||||||
|
if [ ! -L /home/admin/.pool ]; then
|
||||||
|
mv /home/admin/.pool /home/admin/.pool_backup || true
|
||||||
|
ln -s /mnt/hdd/mynode/pool /home/admin/.pool
|
||||||
|
fi
|
||||||
|
|
||||||
# RTL config
|
# RTL config
|
||||||
sudo -u bitcoin mkdir -p /opt/mynode/RTL
|
sudo -u bitcoin mkdir -p /opt/mynode/RTL
|
||||||
sudo -u bitcoin mkdir -p /mnt/hdd/mynode/rtl
|
sudo -u bitcoin mkdir -p /mnt/hdd/mynode/rtl
|
||||||
|
|
Loading…
Reference in New Issue
Block a user