moonstream/crawlers/deploy/wyrm-synchronize.service

17 wiersze
529 B
INI

[Unit]
Description=Wyrm block with transactions synchronizer
StartLimitIntervalSec=300
StartLimitBurst=3
After=network.target
[Service]
Restart=on-failure
RestartSec=15s
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 synchronize --blockchain wyrm -c 0 -j 1
CPUWeight=90
SyslogIdentifier=wyrm-synchronize
[Install]
WantedBy=multi-user.target