kopia lustrzana https://github.com/bugout-dev/moonstream
Merge pull request #612 from bugout-dev/fix-systemd-assignment-out
Removed backslash in systemd and cpu usage limitpull/633/head
commit
4eb6b538b2
|
@ -11,4 +11,5 @@ EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|||
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \
|
||||
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
||||
blocks missing --blockchain ethereum -n
|
||||
CPUWeight=50
|
||||
SyslogIdentifier=ethereum-missing
|
||||
|
|
|
@ -14,6 +14,7 @@ EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|||
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \
|
||||
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
||||
blocks synchronize --blockchain ethereum -c 6 -j 2
|
||||
CPUWeight=90
|
||||
SyslogIdentifier=ethereum-synchronize
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -11,4 +11,5 @@ EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|||
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \
|
||||
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
||||
trending
|
||||
CPUWeight=30
|
||||
SyslogIdentifier=ethereum-trending
|
||||
|
|
|
@ -14,6 +14,7 @@ RestartSec=15s
|
|||
ExecStart=/home/ubuntu/moonstream/crawlers/txpool/txpool \
|
||||
-blockchain ethereum \
|
||||
-access-id "${NB_CONTROLLER_ACCESS_ID}"
|
||||
CPUWeight=30
|
||||
SyslogIdentifier=ethereum-txpool
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -10,11 +10,8 @@ WorkingDirectory=/home/ubuntu
|
|||
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
||||
Restart=on-failure
|
||||
RestartSec=15s
|
||||
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
|
||||
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]
|
||||
|
|
|
@ -11,4 +11,5 @@ EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|||
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \
|
||||
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
||||
blocks missing --blockchain polygon -n
|
||||
CPUWeight=50
|
||||
SyslogIdentifier=polygon-missing
|
||||
|
|
|
@ -14,6 +14,7 @@ RestartSec=15s
|
|||
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.moonworm_crawler.cli \
|
||||
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
||||
crawl -b polygon
|
||||
CPUWeight=70
|
||||
SyslogIdentifier=polygon-moonworm-crawler
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -11,4 +11,5 @@ EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|||
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.stats_worker.dashboard \
|
||||
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
||||
generate --blockchain polygon
|
||||
CPUWeight=60
|
||||
SyslogIdentifier=polygon-statistics
|
||||
|
|
|
@ -14,6 +14,7 @@ EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|||
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \
|
||||
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
||||
blocks synchronize --blockchain polygon -c 60 -j 2
|
||||
CPUWeight=90
|
||||
SyslogIdentifier=polygon-synchronize
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -14,6 +14,7 @@ RestartSec=15s
|
|||
ExecStart=/home/ubuntu/moonstream/crawlers/txpool/txpool \
|
||||
-blockchain polygon \
|
||||
-access-id "${NB_CONTROLLER_ACCESS_ID}"
|
||||
CPUWeight=30
|
||||
SyslogIdentifier=polygon-txpool
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -11,4 +11,5 @@ EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|||
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \
|
||||
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
||||
blocks missing --blockchain xdai -n
|
||||
CPUWeight=50
|
||||
SyslogIdentifier=xdai-missing
|
|
@ -13,7 +13,8 @@ Restart=on-failure
|
|||
RestartSec=15s
|
||||
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.moonworm_crawler.cli \
|
||||
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
||||
crawl -b xdai --start 21704746
|
||||
crawl -b xdai
|
||||
CPUWeight=70
|
||||
SyslogIdentifier=xdai-moonworm-crawler
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -11,4 +11,5 @@ EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|||
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.stats_worker.dashboard \
|
||||
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
||||
generate --blockchain xdai
|
||||
CPUWeight=60
|
||||
SyslogIdentifier=xdai-statistics
|
||||
|
|
|
@ -14,6 +14,7 @@ EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
|||
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \
|
||||
--access-id "${NB_CONTROLLER_ACCESS_ID}" \
|
||||
blocks synchronize --blockchain xdai -c 60 -j 2
|
||||
CPUWeight=90
|
||||
SyslogIdentifier=xdai-synchronize
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -17,6 +17,7 @@ export NFT_HUMBUG_TOKEN="<Token_for_nft_crawler>"
|
|||
# Blockchain nodes environment variables
|
||||
export MOONSTREAM_ETHEREUM_WEB3_PROVIDER_URI="https://<connection_path_uri_to_ethereum_node>"
|
||||
export MOONSTREAM_POLYGON_WEB3_PROVIDER_URI="https://<connection_path_uri_to_polygon_node>"
|
||||
export MOONSTREAM_XDAI_WEB3_PROVIDER_URI="https://<connection_path_uri_to_xdai_node>"
|
||||
export NB_CONTROLLER_ACCESS_ID="<access_uuid_for_moonstream_nodebalancer>"
|
||||
|
||||
# AWS environment variables
|
||||
|
|
Ładowanie…
Reference in New Issue