moonstream/crawlers/deploy/xdai-missing.service

15 wiersze
445 B
INI

[Unit]
Description=Fill missing blocks at XDai 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
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
blocks missing --blockchain xdai -n
CPUWeight=50
SyslogIdentifier=xdai-missing