diff --git a/contrib/backends/bcash/debian/bcash-bch.conffiles b/contrib/backends/bcash/debian/bcash-bch.conffiles index e8931283..39ff192f 100644 --- a/contrib/backends/bcash/debian/bcash-bch.conffiles +++ b/contrib/backends/bcash/debian/bcash-bch.conffiles @@ -1 +1 @@ -/opt/bitcoin/bch/bch.conf +/opt/coins/nodes/bitcoin-abc/bch/bch.conf diff --git a/contrib/backends/bcash/debian/bcash-bch.install b/contrib/backends/bcash/debian/bcash-bch.install index c002ed3e..89f8005f 100644 --- a/contrib/backends/bcash/debian/bcash-bch.install +++ b/contrib/backends/bcash/debian/bcash-bch.install @@ -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 diff --git a/contrib/backends/bcash/debian/bcash-bch.service b/contrib/backends/bcash/debian/bcash-bch.service index becf0d83..7f6a4700 100644 --- a/contrib/backends/bcash/debian/bcash-bch.service +++ b/contrib/backends/bcash/debian/bcash-bch.service @@ -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 diff --git a/contrib/backends/bcash/debian/bcash-testnet.conffiles b/contrib/backends/bcash/debian/bcash-testnet.conffiles index a1304926..24b971a5 100644 --- a/contrib/backends/bcash/debian/bcash-testnet.conffiles +++ b/contrib/backends/bcash/debian/bcash-testnet.conffiles @@ -1 +1 @@ -/opt/bitcoin/bch-testnet/bch-testnet.conf +/opt/coins/nodes/bitcoin-abc/bch-testnet/bch-testnet.conf diff --git a/contrib/backends/bcash/debian/bcash-testnet.install b/contrib/backends/bcash/debian/bcash-testnet.install index ce91977a..926a42fd 100644 --- a/contrib/backends/bcash/debian/bcash-testnet.install +++ b/contrib/backends/bcash/debian/bcash-testnet.install @@ -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 diff --git a/contrib/backends/bcash/debian/bcash-testnet.service b/contrib/backends/bcash/debian/bcash-testnet.service index 0c820b6c..0e696d50 100644 --- a/contrib/backends/bcash/debian/bcash-testnet.service +++ b/contrib/backends/bcash/debian/bcash-testnet.service @@ -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 diff --git a/contrib/backends/bitcoin/debian/bitcoin-btc.conffiles b/contrib/backends/bitcoin/debian/bitcoin-btc.conffiles index d18f88ce..b734a623 100644 --- a/contrib/backends/bitcoin/debian/bitcoin-btc.conffiles +++ b/contrib/backends/bitcoin/debian/bitcoin-btc.conffiles @@ -1 +1 @@ -/opt/bitcoin/btc/btc.conf +/opt/coins/nodes/bitcoin/btc/btc.conf diff --git a/contrib/backends/bitcoin/debian/bitcoin-btc.install b/contrib/backends/bitcoin/debian/bitcoin-btc.install index fe2df203..46107c83 100644 --- a/contrib/backends/bitcoin/debian/bitcoin-btc.install +++ b/contrib/backends/bitcoin/debian/bitcoin-btc.install @@ -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 diff --git a/contrib/backends/bitcoin/debian/bitcoin-btc.service b/contrib/backends/bitcoin/debian/bitcoin-btc.service index 1bf91620..efe31ab9 100644 --- a/contrib/backends/bitcoin/debian/bitcoin-btc.service +++ b/contrib/backends/bitcoin/debian/bitcoin-btc.service @@ -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 diff --git a/contrib/backends/bitcoin/debian/bitcoin-testnet.conffiles b/contrib/backends/bitcoin/debian/bitcoin-testnet.conffiles index 2f410641..2d919034 100644 --- a/contrib/backends/bitcoin/debian/bitcoin-testnet.conffiles +++ b/contrib/backends/bitcoin/debian/bitcoin-testnet.conffiles @@ -1 +1 @@ -/opt/bitcoin/btc-testnet/btc-testnet.conf +/opt/coins/nodes/bitcoin/btc-testnet/btc-testnet.conf diff --git a/contrib/backends/bitcoin/debian/bitcoin-testnet.install b/contrib/backends/bitcoin/debian/bitcoin-testnet.install index a9124874..35109b8d 100644 --- a/contrib/backends/bitcoin/debian/bitcoin-testnet.install +++ b/contrib/backends/bitcoin/debian/bitcoin-testnet.install @@ -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 diff --git a/contrib/backends/bitcoin/debian/bitcoin-testnet.service b/contrib/backends/bitcoin/debian/bitcoin-testnet.service index 162017a4..5765a0e5 100644 --- a/contrib/backends/bitcoin/debian/bitcoin-testnet.service +++ b/contrib/backends/bitcoin/debian/bitcoin-testnet.service @@ -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 diff --git a/contrib/backends/zcash/debian/zcash-zec.conffiles b/contrib/backends/zcash/debian/zcash-zec.conffiles index b67eba29..9b19c6c3 100644 --- a/contrib/backends/zcash/debian/zcash-zec.conffiles +++ b/contrib/backends/zcash/debian/zcash-zec.conffiles @@ -1 +1 @@ -/opt/zcash/zec/zec.conf +/opt/coins/nodes/zcash/zec/zec.conf diff --git a/contrib/backends/zcash/debian/zcash-zec.install b/contrib/backends/zcash/debian/zcash-zec.install index 0bdf2442..629f95b1 100644 --- a/contrib/backends/zcash/debian/zcash-zec.install +++ b/contrib/backends/zcash/debian/zcash-zec.install @@ -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 diff --git a/contrib/backends/zcash/debian/zcash-zec.postinst b/contrib/backends/zcash/debian/zcash-zec.postinst index 17102469..1bd172c2 100644 --- a/contrib/backends/zcash/debian/zcash-zec.postinst +++ b/contrib/backends/zcash/debian/zcash-zec.postinst @@ -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 diff --git a/contrib/backends/zcash/debian/zcash-zec.service b/contrib/backends/zcash/debian/zcash-zec.service index 20edb965..51062409 100644 --- a/contrib/backends/zcash/debian/zcash-zec.service +++ b/contrib/backends/zcash/debian/zcash-zec.service @@ -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