Created
January 25, 2021 10:04
-
-
Save ephdtrg/88b508926cfb8454fbff21607376f8af to your computer and use it in GitHub Desktop.
Bitcoind node service (systemd)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Bitcoin Node Mainnet | |
[Service] | |
User=bitcoind | |
Group=bitcoind | |
ExecStart=/usr/bin/bitcoind -server -rpcuser=username -rpcpassword=password -datadir=/home/bitcoind/.bitcoin -rpcbind=127.0.0.1 -rpcworkqueue=64 | |
PIDFile=/home/bitcoind/bitcoin.pid | |
WorkingDirectory=/home/bitcoind | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Bitcoin Node Testent | |
[Service] | |
User=bitcoin-testnet | |
Group=bitcoin-testnet | |
ExecStart=/usr/bin/bitcoind --testnet -server -rpcuser=username -rpcpassword=password -rpcbind=127.0.0.1 -rpcworkqueue=64 | |
PIDFile=/home/bitcoin-testnet/bitcoin.pid | |
WorkingDirectory=/home/bitcoin-testnet | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment