2021-11-14 18:44:58 +00:00
|
|
|
[Unit]
|
2022-01-31 13:05:33 +00:00
|
|
|
Description=Update Polygon statistics dashboards
|
2021-11-14 18:44:58 +00:00
|
|
|
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.stats_worker.dashboard \
|
|
|
|
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
|
|
|
generate --blockchain polygon
|
2022-06-11 12:06:01 +00:00
|
|
|
CPUWeight=60
|
2022-05-03 12:39:33 +00:00
|
|
|
SyslogIdentifier=polygon-statistics
|