Fix ethereum backend service descriptors
This commit is contained in:
parent
8a74a989c3
commit
c95ed87620
@ -1,11 +1,11 @@
|
|||||||
# 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 blockbook-eth.service
|
# $ systemctl edit ethereum-eth.service
|
||||||
# See "man systemd.service" for details.
|
# See "man systemd.service" for details.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Ethereum daemon (ropsten testnet)
|
Description=Ethereum daemon (mainnet)
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|||||||
@ -1,19 +1,19 @@
|
|||||||
# 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 blockbook-eth-ropsten.service
|
# $ systemctl edit ethereum-ropsten.service
|
||||||
# See "man systemd.service" for details.
|
# See "man systemd.service" for details.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Ethereum daemon (mainnet)
|
Description=Ethereum daemon (ropsten testnet)
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/sh -c '/opt/coins/nodes/ethereum/eth/geth --ipcdisable --syncmode full --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/eth-ropsten/eth.log'
|
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'
|
||||||
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/eth-ropsten/
|
||||||
|
|
||||||
# Resource limits
|
# Resource limits
|
||||||
LimitNOFILE=500000
|
LimitNOFILE=500000
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user