Rename ehtereum backend packages to match coin naming convention
This commit is contained in:
parent
9c01962001
commit
f09a2ca12b
@ -1,3 +1,9 @@
|
|||||||
|
ethereum (1.8.10-satoshilabs2) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Rename packages and directories
|
||||||
|
|
||||||
|
-- Martin Bohm <martin.bohm@satoshilabs.com> Wed, 06 Jun 2018 11:12:13 +0200
|
||||||
|
|
||||||
ethereum (1.8.10-satoshilabs1) unstable; urgency=medium
|
ethereum (1.8.10-satoshilabs1) unstable; urgency=medium
|
||||||
|
|
||||||
* Initial build
|
* Initial build
|
||||||
|
|||||||
@ -5,12 +5,12 @@ Maintainer: martin.bohm@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: ethereum-eth
|
Package: ethereum
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, logrotate
|
Depends: ${shlibs:Depends}, ${misc:Depends}, logrotate
|
||||||
Description: Satoshilabs packaged ethereum geth server
|
Description: Satoshilabs packaged ethereum geth server
|
||||||
|
|
||||||
Package: ethereum-ropsten
|
Package: ethereum-testnet-ropsten
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, logrotate
|
Depends: ${shlibs:Depends}, ${misc:Depends}, logrotate
|
||||||
Description: Satoshilabs packaged ethereum geth server
|
Description: Satoshilabs packaged ethereum geth server
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
/opt/coins/data/eth/eth
|
|
||||||
@ -1 +0,0 @@
|
|||||||
ethereum/* /opt/coins/nodes/ethereum/eth
|
|
||||||
@ -1 +0,0 @@
|
|||||||
/opt/coins/data/eth-ropsten/eth
|
|
||||||
@ -1 +0,0 @@
|
|||||||
ethereum/* /opt/coins/nodes/ethereum/eth-ropsten
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
/opt/coins/data/ethereum_testnet_ropsten/backend
|
||||||
@ -0,0 +1 @@
|
|||||||
|
ethereum/* /opt/coins/nodes/ethereum_testnet_ropsten
|
||||||
@ -1,4 +1,4 @@
|
|||||||
/opt/coins/data/eth/eth/eth.log
|
/opt/coins/data/ethereum_testnet_ropsten/backend/ethereum_testnet_ropsten.log
|
||||||
{
|
{
|
||||||
rotate 7
|
rotate 7
|
||||||
daily
|
daily
|
||||||
@ -9,9 +9,9 @@ case "$1" in
|
|||||||
useradd --system -M -U ethereum -s /bin/false
|
useradd --system -M -U ethereum -s /bin/false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$(stat -c '%U' /opt/coins/data/eth-ropsten/eth)" != "ethereum" ]
|
if [ "$(stat -c '%U' /opt/coins/data/ethereum_testnet_ropsten/backend)" != "ethereum" ]
|
||||||
then
|
then
|
||||||
chown -R ethereum:ethereum /opt/coins/data/eth-ropsten/eth
|
chown -R ethereum:ethereum /opt/coins/data/ethereum_testnet_ropsten/backend
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
# 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 ethereum-ropsten.service
|
# $ systemctl edit ethereum-testnet-ropsten.service
|
||||||
# See "man systemd.service" for details.
|
# See "man systemd.service" for details.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
@ -9,11 +9,11 @@ Description=Ethereum daemon (ropsten testnet)
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/sh -c '/opt/coins/nodes/ethereum/eth-ropsten/geth --ipcdisable --testnet --cache 1024 --datadir /opt/coins/data/eth-ropsten/eth --port 48333 --ws --wsaddr 0.0.0.0 --wsport 18036 --wsorigins * 2>>/opt/coins/data/eth-ropsten/eth/eth.log'
|
ExecStart=/bin/sh -c '/opt/coins/nodes/ethereum_testnet_ropsten/geth --ipcdisable --testnet --cache 1024 --datadir /opt/coins/data/ethereum_testnet_ropsten/backend --port 48333 --ws --wsaddr 0.0.0.0 --wsport 18036 --wsorigins * 2>>/opt/coins/data/ethereum_testnet_ropsten/backend/ethereum_testnet_ropsten.log'
|
||||||
User=ethereum
|
User=ethereum
|
||||||
Type=simple
|
Type=simple
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
WorkingDirectory=/opt/coins/nodes/ethereum/eth-ropsten/
|
WorkingDirectory=/opt/coins/nodes/ethereum_testnet_ropsten
|
||||||
|
|
||||||
# Resource limits
|
# Resource limits
|
||||||
LimitNOFILE=500000
|
LimitNOFILE=500000
|
||||||
1
contrib/backends/ethereum/debian/ethereum.dirs
Normal file
1
contrib/backends/ethereum/debian/ethereum.dirs
Normal file
@ -0,0 +1 @@
|
|||||||
|
/opt/coins/data/ethereum/backend
|
||||||
1
contrib/backends/ethereum/debian/ethereum.install
Normal file
1
contrib/backends/ethereum/debian/ethereum.install
Normal file
@ -0,0 +1 @@
|
|||||||
|
ethereum/* /opt/coins/nodes/ethereum
|
||||||
@ -1,4 +1,4 @@
|
|||||||
/opt/coins/data/eth-ropsten/eth/eth.log
|
/opt/coins/data/ethereum/backend/ethereum.log
|
||||||
{
|
{
|
||||||
rotate 7
|
rotate 7
|
||||||
daily
|
daily
|
||||||
@ -9,9 +9,9 @@ case "$1" in
|
|||||||
useradd --system -M -U ethereum -s /bin/false
|
useradd --system -M -U ethereum -s /bin/false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$(stat -c '%U' /opt/coins/data/eth/eth)" != "ethereum" ]
|
if [ "$(stat -c '%U' /opt/coins/data/ethereum/backend)" != "ethereum" ]
|
||||||
then
|
then
|
||||||
chown -R ethereum:ethereum /opt/coins/data/eth/eth
|
chown -R ethereum:ethereum /opt/coins/data/ethereum/backend
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
# 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 ethereum-eth.service
|
# $ systemctl edit ethereum.service
|
||||||
# See "man systemd.service" for details.
|
# See "man systemd.service" for details.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
@ -9,11 +9,11 @@ Description=Ethereum daemon (mainnet)
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/sh -c '/opt/coins/nodes/ethereum/eth/geth --ipcdisable --syncmode full --cache 1024 --datadir /opt/coins/data/eth/eth --port 38336 --ws --wsaddr 0.0.0.0 --wsport 8036 --wsorigins * 2>>/opt/coins/data/eth/eth/eth.log'
|
ExecStart=/bin/sh -c '/opt/coins/nodes/ethereum/geth --ipcdisable --syncmode full --cache 1024 --datadir /opt/coins/data/eth/eth --port 38336 --ws --wsaddr 0.0.0.0 --wsport 8036 --wsorigins * 2>>/opt/coins/data/ethereum/backend/ethereum.log'
|
||||||
User=ethereum
|
User=ethereum
|
||||||
Type=simple
|
Type=simple
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
WorkingDirectory=/opt/coins/nodes/ethereum/eth
|
WorkingDirectory=/opt/coins/nodes/ethereum
|
||||||
|
|
||||||
# Resource limits
|
# Resource limits
|
||||||
LimitNOFILE=500000
|
LimitNOFILE=500000
|
||||||
Loading…
Reference in New Issue
Block a user