kopia lustrzana https://github.com/bugout-dev/moonstream
22 wiersze
504 B
INI
22 wiersze
504 B
INI
[Unit]
|
|
Description=Polygon txpool crawler
|
|
After=network.target
|
|
StartLimitIntervalSec=300
|
|
StartLimitBurst=3
|
|
|
|
[Service]
|
|
User=ubuntu
|
|
Group=www-data
|
|
WorkingDirectory=/home/ubuntu/moonstream/crawlers/txpool
|
|
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|
Restart=on-failure
|
|
RestartSec=15s
|
|
ExecStart=/home/ubuntu/moonstream/crawlers/txpool/txpool \
|
|
-blockchain polygon \
|
|
-access-id "${NB_CONTROLLER_ACCESS_ID}"
|
|
CPUWeight=30
|
|
SyslogIdentifier=polygon-txpool
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|