2024-03-13 22:09:54 +00:00
|
|
|
[Unit]
|
2024-03-13 22:43:38 +00:00
|
|
|
Description=Xai sepolia block with transactions synchronizer
|
2024-03-13 22:09:54 +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
|
2024-03-28 16:10:40 +00:00
|
|
|
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler blocks synchronize --blockchain xai_sepolia -c 10 -j 2
|
2024-03-13 22:09:54 +00:00
|
|
|
CPUWeight=90
|
2024-03-13 22:43:38 +00:00
|
|
|
SyslogIdentifier=xai-sepolia-synchronize
|
2024-03-13 22:09:54 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|