2021-11-12 18:13:01 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Fill missing blocks at Polygon database
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
User=ubuntu
|
|
|
|
Group=www-data
|
|
|
|
WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl
|
|
|
|
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
2022-05-16 13:31:34 +00:00
|
|
|
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \
|
|
|
|
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
|
|
|
blocks missing --blockchain polygon -n
|
2022-06-11 12:06:01 +00:00
|
|
|
CPUWeight=50
|
2022-05-03 12:39:33 +00:00
|
|
|
SyslogIdentifier=polygon-missing
|