kopia lustrzana https://github.com/bugout-dev/moonstream
20 wiersze
657 B
INI
20 wiersze
657 B
INI
[Unit]
|
|
Description=Ethereum node Geth client
|
|
StartLimitIntervalSec=500
|
|
StartLimitBurst=5
|
|
After=network.target
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
RestartSec=10s
|
|
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|
ExecStart=/usr/bin/geth --syncmode snap --cache 4096 --datadir /mnt/disks/nodes/ethereum --txpool.globalslots 153600 --txpool.globalqueue 3072 --http --http.api eth,web3,txpool --http.addr "${AWS_LOCAL_IPV4}" --http.port 8545 --http.vhosts "*" --authrpc.jwtsecret /home/ubuntu/moonstream-secrets/jwt.hex
|
|
Type=simple
|
|
User=ubuntu
|
|
ExecStop=/bin/kill -s SIGINT -$MAINPID
|
|
TimeoutStopSec=180
|
|
SyslogIdentifier=geth
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|