moonstream/crawlers/deploy/avalanche-synchronize.service

17 wiersze
504 B
INI

[Unit]
Description=Avalanche block with transactions synchronizer
StartLimitIntervalSec=300
StartLimitBurst=3
After=network.target
[Service]
Restart=on-failure
RestartSec=15s
WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler blocks synchronize --blockchain avalanche -c 10 -j 2
CPUWeight=90
SyslogIdentifier=avalanche-synchronize
[Install]
WantedBy=multi-user.target