2024-02-21 01:27:06 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Xai 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
|
2024-03-28 13:37:45 +00:00
|
|
|
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.moonworm_crawler.cli crawl -b xai --confirmations 10 --min-blocks-batch 20
|
2024-02-21 01:27:06 +00:00
|
|
|
CPUWeight=70
|
|
|
|
SyslogIdentifier=xai-moonworm-crawler
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|