Fix ethereum backend service descriptors

This commit is contained in:
Martin Boehm 2018-05-31 21:12:48 +02:00
parent 8a74a989c3
commit c95ed87620
2 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
# It is not recommended to modify this file in-place, because it will
# be overwritten during package upgrades. If you want to add further
# options or overwrite existing ones then use
# $ systemctl edit blockbook-eth.service
# $ systemctl edit ethereum-eth.service
# See "man systemd.service" for details.
[Unit]
Description=Ethereum daemon (ropsten testnet)
Description=Ethereum daemon (mainnet)
After=network.target
[Service]

View File

@ -1,19 +1,19 @@
# It is not recommended to modify this file in-place, because it will
# be overwritten during package upgrades. If you want to add further
# options or overwrite existing ones then use
# $ systemctl edit blockbook-eth-ropsten.service
# $ systemctl edit ethereum-ropsten.service
# See "man systemd.service" for details.
[Unit]
Description=Ethereum daemon (mainnet)
Description=Ethereum daemon (ropsten testnet)
After=network.target
[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
Type=simple
Restart=on-failure
WorkingDirectory=/opt/coins/nodes/ethereum/eth
WorkingDirectory=/opt/coins/nodes/ethereum/eth-ropsten/
# Resource limits
LimitNOFILE=500000