moonstream/crawlers/deploy/polygon-moonworm-crawler.se...

20 wiersze
529 B
INI
Czysty Zwykły widok Historia

[Unit]
Description=Polygon moonworm crawler
After=network.target
StartLimitIntervalSec=300
StartLimitBurst=3
[Service]
User=ubuntu
Group=www-data
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 polygon
SyslogIdentifier=polygon-moonworm-crawler
[Install]
WantedBy=multi-user.target