2023-03-14 12:16:17 +00:00
|
|
|
[Unit]
|
2023-03-14 12:24:28 +00:00
|
|
|
Description=Wyrm block with transactions synchronizer
|
2023-03-14 12:16:17 +00:00
|
|
|
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
|
2023-03-14 12:24:28 +00:00
|
|
|
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler --access-id "${NB_CONTROLLER_ACCESS_ID}" blocks synchronize --blockchain wyrm -c 0 -j 1
|
2023-03-14 12:16:17 +00:00
|
|
|
CPUWeight=90
|
2023-03-14 12:24:28 +00:00
|
|
|
SyslogIdentifier=wyrm-synchronize
|
2023-03-14 12:16:17 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|