From 39b85143f5f78c5b91e714491ea512f92ed27554 Mon Sep 17 00:00:00 2001 From: kompotkot Date: Fri, 15 Oct 2021 10:40:54 +0000 Subject: [PATCH] Full to snap sync mode change --- nodes/deploy/ethereum-node.service | 2 +- nodes/deploy/moonstreamnodes.service | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 nodes/deploy/moonstreamnodes.service diff --git a/nodes/deploy/ethereum-node.service b/nodes/deploy/ethereum-node.service index f5456f00..1305e7d1 100644 --- a/nodes/deploy/ethereum-node.service +++ b/nodes/deploy/ethereum-node.service @@ -5,7 +5,7 @@ After=network.target [Service] User=ubuntu Group=www-data -ExecStart=/usr/bin/geth --syncmode full --cache 4096 \ +ExecStart=/usr/bin/geth --syncmode snap --cache 4096 \ --port 41380 --datadir /mnt/disks/nodes/ethereum \ --txpool.globalslots 153600 --txpool.globalqueue 3072 \ --http --http.port 18370 --http.api eth,web3,txpool diff --git a/nodes/deploy/moonstreamnodes.service b/nodes/deploy/moonstreamnodes.service deleted file mode 100644 index 1f84f5a4..00000000 --- a/nodes/deploy/moonstreamnodes.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=moonstreamnodes-service -After=network.target - -[Service] -User=ubuntu -Group=www-data -WorkingDirectory=/home/ubuntu/moonstream/nodes/server -EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env -ExecStart=/home/ubuntu/moonstream/nodes/server/moonstreamnodes -host 127.0.0.1 -port "${MOONSTREAM_NODE_SERVER_PORT}" -SyslogIdentifier=moonstreamnodes - -[Install] -WantedBy=multi-user.tar \ No newline at end of file