Append to log on startup of ethereum backend service
This commit is contained in:
parent
c95ed87620
commit
cb21b880db
@ -9,7 +9,7 @@ Description=Ethereum daemon (mainnet)
|
||||
After=network.target
|
||||
|
||||
[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/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'
|
||||
User=ethereum
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
|
||||
@ -9,7 +9,7 @@ Description=Ethereum daemon (ropsten testnet)
|
||||
After=network.target
|
||||
|
||||
[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/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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user