Skip to content

Commit e5b864d

Browse files
author
Andrey
committed
Rename to mumbai.
1 parent 5ec46a6 commit e5b864d

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[Unit]
2+
Description=Execute metadata crawler
3+
After=network.target
4+
5+
[Service]
6+
Type=oneshot
7+
User=ubuntu
8+
Group=www-data
9+
WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl
10+
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
11+
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.metadata_crawler.cli crawl --blockchain mumbai
12+
CPUWeight=60
13+
SyslogIdentifier=mumbai-metadata
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Unit]
2+
Description=Execute Mumbai metadata crawler each 10m
3+
4+
[Timer]
5+
OnBootSec=20s
6+
OnUnitActiveSec=60m
7+
8+
[Install]
9+
WantedBy=timers.target

0 commit comments

Comments
 (0)