2023-03-07 15:45:02 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Wyrm 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
|
2023-04-12 12:23:10 +00:00
|
|
|
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.moonworm_crawler.cli --access-id "${NB_CONTROLLER_ACCESS_ID}" crawl --blockchain wyrm --poa --no-confirmations --start 0 --min-blocks-batch 1
|
2023-03-07 15:45:02 +00:00
|
|
|
CPUWeight=70
|
|
|
|
SyslogIdentifier=wyrm-moonworm-crawler
|
|
|
|
|
|
|
|
[Install]
|
2023-03-13 22:23:37 +00:00
|
|
|
WantedBy=multi-user.target
|