kopia lustrzana https://github.com/bugout-dev/moonstream
17 wiersze
556 B
INI
17 wiersze
556 B
INI
[Unit]
|
|
Description=Amoy historical crawler events
|
|
After=network.target
|
|
StartLimitIntervalSec=300
|
|
StartLimitBurst=3
|
|
|
|
[Service]
|
|
WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl
|
|
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|
Restart=on-failure
|
|
RestartSec=15s
|
|
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.moonworm_crawler.cli historical-crawl --blockchain-type amoy --find-deployed-blocks --end 0 --tasks-journal --only-events
|
|
CPUWeight=70
|
|
SyslogIdentifier=amoy-historical-crawl-events
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |