Rename bitcoin backend packages to match coin naming convention
This commit is contained in:
parent
f09a2ca12b
commit
da5bbe59a3
@ -1 +0,0 @@
|
|||||||
/opt/coins/nodes/bitcoin/btc/btc.conf
|
|
||||||
@ -1 +0,0 @@
|
|||||||
/opt/coins/data/btc/bitcoin
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
bitcoin/* /opt/coins/nodes/bitcoin/btc
|
|
||||||
btc.conf /opt/coins/nodes/bitcoin/btc
|
|
||||||
@ -1 +1 @@
|
|||||||
/opt/coins/nodes/bitcoin/btc-testnet/btc-testnet.conf
|
/opt/coins/nodes/bitcoin_testnet/bitcoin_testnet.conf
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
/opt/coins/data/btc-testnet/bitcoin
|
/opt/coins/data/bitcoin_testnet/backend
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
bitcoin/* /opt/coins/nodes/bitcoin/btc-testnet
|
bitcoin/* /opt/coins/nodes/bitcoin_testnet
|
||||||
btc-testnet.conf /opt/coins/nodes/bitcoin/btc-testnet
|
bitcoin_testnet.conf /opt/coins/nodes/bitcoin_testnet/bitcoin_testnet.conf
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/opt/coins/data/btc-testnet/bitcoin/testnet3/debug.log
|
/opt/coins/data/bitcoin_testnet/backend/testnet3/debug.log
|
||||||
/opt/coins/data/btc-testnet/bitcoin/testnet3/db.log
|
/opt/coins/data/bitcoin_testnet/backend/testnet3/db.log
|
||||||
{
|
{
|
||||||
rotate 7
|
rotate 7
|
||||||
daily
|
daily
|
||||||
|
|||||||
@ -9,9 +9,9 @@ case "$1" in
|
|||||||
useradd --system -M -U bitcoin -s /bin/false
|
useradd --system -M -U bitcoin -s /bin/false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$(stat -c '%U' /opt/coins/data/btc-testnet/bitcoin)" != "bitcoin" ]
|
if [ "$(stat -c '%U' /opt/coins/data/bitcoin_testnet/backend)" != "bitcoin" ]
|
||||||
then
|
then
|
||||||
chown -R bitcoin:bitcoin /opt/coins/data/btc-testnet/bitcoin
|
chown -R bitcoin:bitcoin /opt/coins/data/bitcoin_testnet/backend
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|||||||
@ -5,19 +5,19 @@
|
|||||||
# 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/coins/nodes/bitcoin/btc-testnet/btc-testnet.conf
|
# /opt/coins/nodes/bitcoin_testnet/bitcoin_testnet.conf
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Bitcoin daemon (testnet)
|
Description=Bitcoin daemon (testnet)
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
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
|
ExecStart=/opt/coins/nodes/bitcoin_testnet/bin/bitcoind -datadir=/opt/coins/data/bitcoin_testnet/backend -conf=/opt/coins/nodes/bitcoin_testnet/bitcoin_testnet.conf -pid=/run/bitcoind/bitcoin_testnet.pid
|
||||||
# Creates /run/bitcoind owned by bitcoin
|
# Creates /run/bitcoind owned by bitcoin
|
||||||
RuntimeDirectory=bitcoind
|
RuntimeDirectory=bitcoind
|
||||||
User=bitcoin
|
User=bitcoin
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/run/bitcoind/testnet.pid
|
PIDFile=/run/bitcoind/bitcoin_testnet.pid
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
# Resource limits
|
# Resource limits
|
||||||
|
|||||||
1
contrib/backends/bitcoin/debian/bitcoin.conffiles
Normal file
1
contrib/backends/bitcoin/debian/bitcoin.conffiles
Normal file
@ -0,0 +1 @@
|
|||||||
|
/opt/coins/nodes/bitcoin/bitcoin.conf
|
||||||
1
contrib/backends/bitcoin/debian/bitcoin.dirs
Normal file
1
contrib/backends/bitcoin/debian/bitcoin.dirs
Normal file
@ -0,0 +1 @@
|
|||||||
|
/opt/coins/data/bitcoin/backend
|
||||||
2
contrib/backends/bitcoin/debian/bitcoin.install
Normal file
2
contrib/backends/bitcoin/debian/bitcoin.install
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
bitcoin/* /opt/coins/nodes/bitcoin
|
||||||
|
bitcoin.conf /opt/coins/nodes/bitcoin
|
||||||
@ -1,5 +1,5 @@
|
|||||||
/opt/coins/data/btc/bitcoin/debug.log
|
/opt/coins/data/bitcoin/backend/debug.log
|
||||||
/opt/coins/data/btc/bitcoin/db.log
|
/opt/coins/data/bitcoin/backend/db.log
|
||||||
{
|
{
|
||||||
rotate 7
|
rotate 7
|
||||||
daily
|
daily
|
||||||
@ -9,9 +9,9 @@ case "$1" in
|
|||||||
useradd --system -M -U bitcoin -s /bin/false
|
useradd --system -M -U bitcoin -s /bin/false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$(stat -c '%U' /opt/coins/data/btc/bitcoin)" != "bitcoin" ]
|
if [ "$(stat -c '%U' /opt/coins/data/bitcoin/backend)" != "bitcoin" ]
|
||||||
then
|
then
|
||||||
chown -R bitcoin:bitcoin /opt/coins/data/btc/bitcoin
|
chown -R bitcoin:bitcoin /opt/coins/data/bitcoin/backend
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -1,23 +1,23 @@
|
|||||||
# It is not recommended to modify this file in-place, because it will
|
# It is not recommended to modify this file in-place, because it will
|
||||||
# be overwritten during package upgrades. If you want to add further
|
# be overwritten during package upgrades. If you want to add further
|
||||||
# options or overwrite existing ones then use
|
# options or overwrite existing ones then use
|
||||||
# $ systemctl edit bitcoin-btc.service
|
# $ systemctl edit bitcoin.service
|
||||||
# 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/coins/nodes/bitcoin/btc/btc.conf
|
# /opt/coins/nodes/bitcoin/bitcoin.conf
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Bitcoin daemon (mainnet)
|
Description=Bitcoin daemon (mainnet)
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
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
|
ExecStart=/opt/coins/nodes/bitcoin/bin/bitcoind -datadir=/opt/coins/data/bitcoin/backend -conf=/opt/coins/nodes/bitcoin/bitcoin.conf -pid=/run/bitcoind/bitcoin.pid
|
||||||
# Creates /run/bitcoind owned by bitcoin
|
# Creates /run/bitcoind owned by bitcoin
|
||||||
RuntimeDirectory=bitcoind
|
RuntimeDirectory=bitcoind
|
||||||
User=bitcoin
|
User=bitcoin
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/run/bitcoind/btc.pid
|
PIDFile=/run/bitcoind/bitcoin.pid
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
# Resource limits
|
# Resource limits
|
||||||
@ -1,3 +1,9 @@
|
|||||||
|
bitcoin (0.16.0-satoshilabs6) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Rename packages and directories
|
||||||
|
|
||||||
|
-- Martin Bohm <martin.bohm@satoshilabs.com> Wed, 06 Jun 2018 11:12:13 +0200
|
||||||
|
|
||||||
bitcoin (0.16.0-satoshilabs5) unstable; urgency=medium
|
bitcoin (0.16.0-satoshilabs5) unstable; urgency=medium
|
||||||
|
|
||||||
* Added deprecatedrpc=estimatefee option
|
* Added deprecatedrpc=estimatefee option
|
||||||
|
|||||||
@ -5,7 +5,7 @@ Maintainer: jakub.matys@satoshilabs.com
|
|||||||
Build-Depends: debhelper, wget, tar, gzip, make, dh-systemd, dh-exec
|
Build-Depends: debhelper, wget, tar, gzip, make, dh-systemd, dh-exec
|
||||||
Standards-Version: 3.9.5
|
Standards-Version: 3.9.5
|
||||||
|
|
||||||
Package: bitcoin-btc
|
Package: bitcoin
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, logrotate
|
Depends: ${shlibs:Depends}, ${misc:Depends}, logrotate
|
||||||
Description: Satoshilabs packaged bitcoin server
|
Description: Satoshilabs packaged bitcoin server
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user