moonstream/crawlers/deploy/polygon-historical-crawl-tr...

17 wiersze
623 B
INI
Czysty Zwykły widok Historia

2023-05-30 14:10:03 +00:00
[Unit]
Description=Polygon historical crawler transactions
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
2023-05-31 14:22:56 +00:00
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.moonworm_crawler.cli --access-id "${NB_CONTROLLER_ACCESS_ID}" historical-crawl --blockchain-type polygon --find-deployed-blocks --end 0 --tasks-journal --only-functions
2023-05-30 14:10:03 +00:00
CPUWeight=70
2023-05-31 13:59:59 +00:00
SyslogIdentifier=polygon-historical-crawler-transactions
2023-05-30 14:10:03 +00:00
[Install]
WantedBy=multi-user.target