moonstream/crawlers/deploy/mumbai-moonworm-crawler.ser...

17 wiersze
519 B
INI

[Unit]
Description=Mumbai 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
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.moonworm_crawler.cli --access-id "${NB_CONTROLLER_ACCESS_ID}" crawl -b mumbai --confirmations 40
CPUWeight=70
SyslogIdentifier=mumbai-moonworm-crawler
[Install]
WantedBy=multi-user.target