Changed backends' install directories

This commit is contained in:
Jakub Matys 2018-05-11 13:35:32 +02:00
parent ab2a1a6f48
commit b763f16361
16 changed files with 26 additions and 26 deletions

View File

@ -1 +1 @@
/opt/bitcoin/bch/bch.conf
/opt/coins/nodes/bitcoin-abc/bch/bch.conf

View File

@ -1,2 +1,2 @@
bitcoin-abc/* /opt/bitcoin/bch
bch.conf /opt/bitcoin/bch
bitcoin-abc/* /opt/coins/nodes/bitcoin-abc/bch
bch.conf /opt/coins/nodes/bitcoin-abc/bch

View File

@ -5,14 +5,14 @@
# See "man systemd.service" for details.
# Note that almost all daemon options could be specified in
# /opt/bitcoin/bch/bch.conf
# /opt/coins/nodes/bitcoin-abc/bch/bch.conf
[Unit]
Description=Bitcoin Cash daemon (mainnet)
After=network.target
[Service]
ExecStart=/opt/bitcoin/bch/bin/bitcoind -datadir=/opt/coins/data/bch/bitcoin -conf=/opt/bitcoin/bch/bch.conf -pid=/run/bitcoind/bch.pid
ExecStart=/opt/coins/nodes/bitcoin-abc/bch/bin/bitcoind -datadir=/opt/coins/data/bch/bitcoin -conf=/opt/coins/nodes/bitcoin-abc/bch/bch.conf -pid=/run/bitcoind/bch.pid
# Creates /run/bitcoind owned by bitcoin
RuntimeDirectory=bitcoind
User=bitcoin

View File

@ -1 +1 @@
/opt/bitcoin/bch-testnet/bch-testnet.conf
/opt/coins/nodes/bitcoin-abc/bch-testnet/bch-testnet.conf

View File

@ -1,2 +1,2 @@
bitcoin-abc/* /opt/bitcoin/bch-testnet
bch-testnet.conf /opt/bitcoin/bch-testnet
bitcoin-abc/* /opt/coins/nodes/bitcoin-abc/bch-testnet
bch-testnet.conf /opt/coins/nodes/bitcoin-abc/bch-testnet

View File

@ -5,14 +5,14 @@
# See "man systemd.service" for details.
# Note that almost all daemon options could be specified in
# /opt/bitcoin/bch-testnet/bch-testnet.conf
# /opt/coins/nodes/bitcoin-abc/bch-testnet/bch-testnet.conf
[Unit]
Description=Bitcoin Cash daemon (testnet)
After=network.target
[Service]
ExecStart=/opt/bitcoin/bch-testnet/bin/bitcoind -datadir=/opt/coins/data/bch-testnet/bitcoin -conf=/opt/bitcoin/bch-testnet/bch-testnet.conf -pid=/run/bitcoind/bch-testnet.pid
ExecStart=/opt/coins/nodes/bitcoin-abc/bch-testnet/bin/bitcoind -datadir=/opt/coins/data/bch-testnet/bitcoin -conf=/opt/coins/nodes/bitcoin-abc/bch-testnet/bch-testnet.conf -pid=/run/bitcoind/bch-testnet.pid
# Creates /run/bitcoind owned by bitcoin
RuntimeDirectory=bitcoind
User=bitcoin

View File

@ -1 +1 @@
/opt/bitcoin/btc/btc.conf
/opt/coins/nodes/bitcoin/btc/btc.conf

View File

@ -1,2 +1,2 @@
bitcoin/* /opt/bitcoin/btc
btc.conf /opt/bitcoin/btc
bitcoin/* /opt/coins/nodes/bitcoin/btc
btc.conf /opt/coins/nodes/bitcoin/btc

View File

@ -5,14 +5,14 @@
# See "man systemd.service" for details.
# Note that almost all daemon options could be specified in
# /opt/bitcoin/btc/btc.conf
# /opt/coins/nodes/bitcoin/btc/btc.conf
[Unit]
Description=Bitcoin daemon (mainnet)
After=network.target
[Service]
ExecStart=/opt/bitcoin/btc/bin/bitcoind -datadir=/opt/coins/data/btc/bitcoin -conf=/opt/bitcoin/btc/btc.conf -pid=/run/bitcoind/btc.pid
ExecStart=/opt/coins/nodes/bitcoin/btc/bin/bitcoind -datadir=/opt/coins/data/btc/bitcoin -conf=/opt/coins/nodes/bitcoin/btc/btc.conf -pid=/run/bitcoind/btc.pid
# Creates /run/bitcoind owned by bitcoin
RuntimeDirectory=bitcoind
User=bitcoin

View File

@ -1 +1 @@
/opt/bitcoin/btc-testnet/btc-testnet.conf
/opt/coins/nodes/bitcoin/btc-testnet/btc-testnet.conf

View File

@ -1,2 +1,2 @@
bitcoin/* /opt/bitcoin/btc-testnet
btc-testnet.conf /opt/bitcoin/btc-testnet
bitcoin/* /opt/coins/nodes/bitcoin/btc-testnet
btc-testnet.conf /opt/coins/nodes/bitcoin/btc-testnet

View File

@ -5,14 +5,14 @@
# See "man systemd.service" for details.
# Note that almost all daemon options could be specified in
# /opt/bitcoin/btc-testnet/btc-testnet.conf
# /opt/coins/nodes/bitcoin/btc-testnet/btc-testnet.conf
[Unit]
Description=Bitcoin daemon (testnet)
After=network.target
[Service]
ExecStart=/opt/bitcoin/btc-testnet/bin/bitcoind -datadir=/opt/coins/data/btc-testnet/bitcoin -conf=/opt/bitcoin/btc-testnet/btc-testnet.conf -pid=/run/bitcoind/testnet.pid
ExecStart=/opt/coins/nodes/bitcoin/btc-testnet/bin/bitcoind -datadir=/opt/coins/data/btc-testnet/bitcoin -conf=/opt/coins/nodes/bitcoin/btc-testnet/btc-testnet.conf -pid=/run/bitcoind/testnet.pid
# Creates /run/bitcoind owned by bitcoin
RuntimeDirectory=bitcoind
User=bitcoin

View File

@ -1 +1 @@
/opt/zcash/zec/zec.conf
/opt/coins/nodes/zcash/zec/zec.conf

View File

@ -1,2 +1,2 @@
zcash/* /opt/zcash/zec
zec.conf /opt/zcash/zec
zcash/* /opt/coins/nodes/zcash/zec
zec.conf /opt/coins/nodes/zcash/zec

View File

@ -14,7 +14,7 @@ case "$1" in
chown zcash:zcash /opt/coins/data/zec/zcash
fi
HOME=/opt/coins/data/zec/zcash /opt/zcash/zec/bin/zcash-fetch-params
HOME=/opt/coins/data/zec/zcash /opt/coins/nodes/zcash/zec/bin/zcash-fetch-params
;;
esac

View File

@ -5,7 +5,7 @@
# See "man systemd.service" for details.
# Note that almost all daemon options could be specified in
# /opt/zcash/zec/zec.conf
# /opt/coins/nodes/zcash/zec/zec.conf
[Unit]
Description=ZCash daemon (mainnet)
@ -13,7 +13,7 @@ After=network.target
[Service]
Environment="HOME=/opt/coins/data/zec/zcash"
ExecStart=/opt/zcash/zec/bin/zcashd -datadir=/opt/coins/data/zec/zcash -conf=/opt/zcash/zec/zec.conf -pid=/run/zcashd/zec.pid
ExecStart=/opt/coins/nodes/zcash/zec/bin/zcashd -datadir=/opt/coins/data/zec/zcash -conf=/opt/coins/nodes/zcash/zec/zec.conf -pid=/run/zcashd/zec.pid
# Creates /run/zcashd owned by zcash
RuntimeDirectory=zcashd
User=zcash