kopia lustrzana https://github.com/bugout-dev/moonstream
17 wiersze
507 B
INI
17 wiersze
507 B
INI
[Unit]
|
|
Description=ZkSync Era 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 blocks synchronize --blockchain zksync_era -c 20 -j 2
|
|
CPUWeight=90
|
|
SyslogIdentifier=zksync-era-synchronize
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |