moonstream/crawlers/deploy/xdai-statistics.service

16 wiersze
452 B
INI

[Unit]
Description=Update XDai statistics dashboards
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.stats_worker.dashboard \
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
generate --blockchain xdai
CPUWeight=60
SyslogIdentifier=xdai-statistics