kopia lustrzana https://github.com/bugout-dev/moonstream
17 wiersze
509 B
INI
17 wiersze
509 B
INI
[Unit]
|
|
Description=Avalanche moonworm crawler
|
|
After=network.target
|
|
StartLimitIntervalSec=300
|
|
StartLimitBurst=3
|
|
|
|
[Service]
|
|
WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl
|
|
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|
Restart=on-failure
|
|
RestartSec=15s
|
|
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.moonworm_crawler.cli crawl -b avalanche --confirmations 10 --min-blocks-batch 20
|
|
CPUWeight=70
|
|
SyslogIdentifier=avalanche-moonworm-crawler
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |