diff --git a/rootfs/standard/etc/systemd/system/bitcoin.service b/rootfs/standard/etc/systemd/system/bitcoin.service index 16a1a2c0..35d045f1 100644 --- a/rootfs/standard/etc/systemd/system/bitcoin.service +++ b/rootfs/standard/etc/systemd/system/bitcoin.service @@ -9,6 +9,7 @@ After=network.target mynode.service ExecStartPre=/usr/bin/is_not_shutting_down.sh ExecStartPre=/usr/bin/wait_on_uploader.sh ExecStartPre=/bin/sh -c 'cat /mnt/hdd/mynode/quicksync/.quicksync_complete' +ExecStartPre=+/usr/bin/mynode_gen_bitcoin_config.sh EnvironmentFile=/mnt/hdd/mynode/bitcoin/env ExecStart=/usr/local/bin/bitcoind -daemon $BTCARGS -deprecatedrpc=accounts -par=-1 -conf=/home/bitcoin/.bitcoin/bitcoin.conf -printtoconsole -pid=/home/bitcoin/.bitcoin/bitcoin.pid ExecStartPost=+/usr/bin/mynode_post_bitcoin.sh diff --git a/rootfs/standard/etc/systemd/system/lnd.service b/rootfs/standard/etc/systemd/system/lnd.service index 97a461ac..8a0e44ae 100644 --- a/rootfs/standard/etc/systemd/system/lnd.service +++ b/rootfs/standard/etc/systemd/system/lnd.service @@ -10,7 +10,7 @@ After=bitcoin.service ExecStartPre=/usr/bin/is_not_shutting_down.sh ExecStartPre=/usr/bin/pre_lnd.sh ExecStartPre=/usr/bin/wait_on_bitcoin.sh -ExecStartPre=/usr/bin/mynode_gen_lnd_config.sh +ExecStartPre=+/usr/bin/mynode_gen_lnd_config.sh ExecStart=/usr/local/bin/lnd ExecStartPost=/bin/echo 'abc' > /mnt/hdd/mynode/lnd/data/chain/bitcoin/mainnet/poke_login