Move bitcoind par config to config file

This commit is contained in:
Taylor Helsper 2022-04-25 22:25:16 -05:00
parent bd29d4d886
commit ea001579cd
2 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,7 @@ 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
ExecStart=/usr/local/bin/bitcoind -daemon $BTCARGS -deprecatedrpc=accounts -conf=/home/bitcoin/.bitcoin/bitcoin.conf -printtoconsole -pid=/home/bitcoin/.bitcoin/bitcoin.pid
ExecStartPost=+/usr/bin/service_scripts/post_bitcoin.sh
PIDFile=/home/bitcoin/.bitcoin/bitcoin.pid
User=bitcoin

View File

@ -8,6 +8,9 @@ daemon=1
# Needed for BTC-RPC-Explorer
txindex=1
# CPU count
par=-1
# Connection settings
rpcauth=mynode:7b7e11c032ddd3fc3835e4e463afd305$6c6a32bbd08cb1b67b5ea89b66865c5ca2bf6fd8a91a19d6a4d58157fe0882b4