Changed backends' install directories
This commit is contained in:
parent
ab2a1a6f48
commit
b763f16361
@ -1 +1 @@
|
|||||||
/opt/bitcoin/bch/bch.conf
|
/opt/coins/nodes/bitcoin-abc/bch/bch.conf
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
bitcoin-abc/* /opt/bitcoin/bch
|
bitcoin-abc/* /opt/coins/nodes/bitcoin-abc/bch
|
||||||
bch.conf /opt/bitcoin/bch
|
bch.conf /opt/coins/nodes/bitcoin-abc/bch
|
||||||
|
|||||||
@ -5,14 +5,14 @@
|
|||||||
# See "man systemd.service" for details.
|
# See "man systemd.service" for details.
|
||||||
|
|
||||||
# Note that almost all daemon options could be specified in
|
# Note that almost all daemon options could be specified in
|
||||||
# /opt/bitcoin/bch/bch.conf
|
# /opt/coins/nodes/bitcoin-abc/bch/bch.conf
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Bitcoin Cash daemon (mainnet)
|
Description=Bitcoin Cash daemon (mainnet)
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[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
|
# Creates /run/bitcoind owned by bitcoin
|
||||||
RuntimeDirectory=bitcoind
|
RuntimeDirectory=bitcoind
|
||||||
User=bitcoin
|
User=bitcoin
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
/opt/bitcoin/bch-testnet/bch-testnet.conf
|
/opt/coins/nodes/bitcoin-abc/bch-testnet/bch-testnet.conf
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
bitcoin-abc/* /opt/bitcoin/bch-testnet
|
bitcoin-abc/* /opt/coins/nodes/bitcoin-abc/bch-testnet
|
||||||
bch-testnet.conf /opt/bitcoin/bch-testnet
|
bch-testnet.conf /opt/coins/nodes/bitcoin-abc/bch-testnet
|
||||||
|
|||||||
@ -5,14 +5,14 @@
|
|||||||
# See "man systemd.service" for details.
|
# See "man systemd.service" for details.
|
||||||
|
|
||||||
# Note that almost all daemon options could be specified in
|
# 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]
|
[Unit]
|
||||||
Description=Bitcoin Cash daemon (testnet)
|
Description=Bitcoin Cash daemon (testnet)
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[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
|
# Creates /run/bitcoind owned by bitcoin
|
||||||
RuntimeDirectory=bitcoind
|
RuntimeDirectory=bitcoind
|
||||||
User=bitcoin
|
User=bitcoin
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
/opt/bitcoin/btc/btc.conf
|
/opt/coins/nodes/bitcoin/btc/btc.conf
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
bitcoin/* /opt/bitcoin/btc
|
bitcoin/* /opt/coins/nodes/bitcoin/btc
|
||||||
btc.conf /opt/bitcoin/btc
|
btc.conf /opt/coins/nodes/bitcoin/btc
|
||||||
|
|||||||
@ -5,14 +5,14 @@
|
|||||||
# See "man systemd.service" for details.
|
# See "man systemd.service" for details.
|
||||||
|
|
||||||
# Note that almost all daemon options could be specified in
|
# Note that almost all daemon options could be specified in
|
||||||
# /opt/bitcoin/btc/btc.conf
|
# /opt/coins/nodes/bitcoin/btc/btc.conf
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Bitcoin daemon (mainnet)
|
Description=Bitcoin daemon (mainnet)
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[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
|
# Creates /run/bitcoind owned by bitcoin
|
||||||
RuntimeDirectory=bitcoind
|
RuntimeDirectory=bitcoind
|
||||||
User=bitcoin
|
User=bitcoin
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
/opt/bitcoin/btc-testnet/btc-testnet.conf
|
/opt/coins/nodes/bitcoin/btc-testnet/btc-testnet.conf
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
bitcoin/* /opt/bitcoin/btc-testnet
|
bitcoin/* /opt/coins/nodes/bitcoin/btc-testnet
|
||||||
btc-testnet.conf /opt/bitcoin/btc-testnet
|
btc-testnet.conf /opt/coins/nodes/bitcoin/btc-testnet
|
||||||
|
|||||||
@ -5,14 +5,14 @@
|
|||||||
# See "man systemd.service" for details.
|
# See "man systemd.service" for details.
|
||||||
|
|
||||||
# Note that almost all daemon options could be specified in
|
# 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]
|
[Unit]
|
||||||
Description=Bitcoin daemon (testnet)
|
Description=Bitcoin daemon (testnet)
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[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
|
# Creates /run/bitcoind owned by bitcoin
|
||||||
RuntimeDirectory=bitcoind
|
RuntimeDirectory=bitcoind
|
||||||
User=bitcoin
|
User=bitcoin
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
/opt/zcash/zec/zec.conf
|
/opt/coins/nodes/zcash/zec/zec.conf
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
zcash/* /opt/zcash/zec
|
zcash/* /opt/coins/nodes/zcash/zec
|
||||||
zec.conf /opt/zcash/zec
|
zec.conf /opt/coins/nodes/zcash/zec
|
||||||
|
|||||||
@ -14,7 +14,7 @@ case "$1" in
|
|||||||
chown zcash:zcash /opt/coins/data/zec/zcash
|
chown zcash:zcash /opt/coins/data/zec/zcash
|
||||||
fi
|
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
|
esac
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
# See "man systemd.service" for details.
|
# See "man systemd.service" for details.
|
||||||
|
|
||||||
# Note that almost all daemon options could be specified in
|
# Note that almost all daemon options could be specified in
|
||||||
# /opt/zcash/zec/zec.conf
|
# /opt/coins/nodes/zcash/zec/zec.conf
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=ZCash daemon (mainnet)
|
Description=ZCash daemon (mainnet)
|
||||||
@ -13,7 +13,7 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment="HOME=/opt/coins/data/zec/zcash"
|
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
|
# Creates /run/zcashd owned by zcash
|
||||||
RuntimeDirectory=zcashd
|
RuntimeDirectory=zcashd
|
||||||
User=zcash
|
User=zcash
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user