kopia lustrzana https://github.com/bugout-dev/moonstream
17 wiersze
615 B
INI
17 wiersze
615 B
INI
[Unit]
|
|
Description=Moonworm CryptoUnicorns watch custom systemd service
|
|
StartLimitIntervalSec=300
|
|
StartLimitBurst=3
|
|
After=network.target
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
RestartSec=15s
|
|
WorkingDirectory=/home/ubuntu
|
|
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|
ExecStart=/home/ubuntu/moonworm-env/bin/python -m moonworm.cli watch-cu -w "${MOONSTREAM_POLYGON_WEB3_PROVIDER_URI}?access_id=${NB_CONTROLLER_ACCESS_ID}&data_source=blockchain" -c 0xdC0479CC5BbA033B3e7De9F178607150B3AbCe1f -d 21418707 --confirmations 60
|
|
CPUWeight=70
|
|
SyslogIdentifier=moonworm-unicorns-mainnet
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |