diff --git a/rootfs/standard/etc/systemd/system/loopd.service b/rootfs/standard/etc/systemd/system/loopd.service index 871e8c6d..fa5e4914 100644 --- a/rootfs/standard/etc/systemd/system/loopd.service +++ b/rootfs/standard/etc/systemd/system/loopd.service @@ -9,7 +9,7 @@ After=lnd.service [Service] ExecStartPre=/usr/bin/is_not_shutting_down.sh ExecStartPre=/usr/bin/wait_on_lnd.sh -ExecStart=/usr/local/bin/loopd +ExecStart=/usr/local/bin/loopd --loopdir=/mnt/hdd/mynode/loop User=bitcoin Group=bitcoin diff --git a/rootfs/standard/usr/bin/mynode_startup.sh b/rootfs/standard/usr/bin/mynode_startup.sh index df3f5965..606211d8 100755 --- a/rootfs/standard/usr/bin/mynode_startup.sh +++ b/rootfs/standard/usr/bin/mynode_startup.sh @@ -121,6 +121,8 @@ mkdir -p /mnt/hdd/mynode/settings mkdir -p /mnt/hdd/mynode/.config mkdir -p /mnt/hdd/mynode/bitcoin mkdir -p /mnt/hdd/mynode/lnd +mkdir -p /mnt/hdd/mynode/loop +mkdir -p /mnt/hdd/mynode/pool mkdir -p /mnt/hdd/mynode/quicksync mkdir -p /mnt/hdd/mynode/redis mkdir -p /mnt/hdd/mynode/mongodb @@ -364,6 +366,14 @@ USER=$(stat -c '%U' /mnt/hdd/mynode/lnd) if [ "$USER" != "bitcoin" ]; then chown -R bitcoin:bitcoin /mnt/hdd/mynode/lnd fi +USER=$(stat -c '%U' /mnt/hdd/mynode/loop) +if [ "$USER" != "bitcoin" ]; then + chown -R bitcoin:bitcoin /mnt/hdd/mynode/loop +fi +USER=$(stat -c '%U' /mnt/hdd/mynode/pool) +if [ "$USER" != "bitcoin" ]; then + chown -R bitcoin:bitcoin /mnt/hdd/mynode/pool +fi USER=$(stat -c '%U' /mnt/hdd/mynode/whirlpool) if [ "$USER" != "bitcoin" ]; then chown -R bitcoin:bitcoin /mnt/hdd/mynode/whirlpool