2023-12-09 08:41:51 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Execute state crawler
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl
|
|
|
|
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
2024-03-28 13:37:45 +00:00
|
|
|
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.state_crawler.cli crawl-jobs --moonstream-token "${MOONSTREAM_PUBLIC_QUERIES_DATA_ACCESS_TOKEN}" --blockchain zksync_era --jobs-file /home/ubuntu/moonstream/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/zksync-era-jobs.json
|
2023-12-09 08:41:51 +00:00
|
|
|
CPUWeight=60
|
|
|
|
SyslogIdentifier=zksync-era-state
|