diff --git a/crawlers/deploy/ethereum-missing.service b/crawlers/deploy/ethereum-missing.service index 07f271ad..e0d4a947 100644 --- a/crawlers/deploy/ethereum-missing.service +++ b/crawlers/deploy/ethereum-missing.service @@ -8,5 +8,7 @@ User=ubuntu Group=www-data WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env -ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler blocks missing --blockchain ethereum -n +ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \ + --access-id "${NB_CONTROLLER_ACCESS_ID}" \ + blocks missing --blockchain ethereum -n SyslogIdentifier=ethereum-missing diff --git a/crawlers/deploy/ethereum-synchronize.service b/crawlers/deploy/ethereum-synchronize.service index c550225b..af6a0561 100644 --- a/crawlers/deploy/ethereum-synchronize.service +++ b/crawlers/deploy/ethereum-synchronize.service @@ -11,7 +11,9 @@ User=ubuntu Group=www-data 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 ethereum -c 6 -j 2 +ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \ + --access-id "${NB_CONTROLLER_ACCESS_ID}" \ + blocks synchronize --blockchain ethereum -c 6 -j 2 SyslogIdentifier=ethereum-synchronize [Install] diff --git a/crawlers/deploy/ethereum-trending.service b/crawlers/deploy/ethereum-trending.service index fa7b3b1f..f875defc 100644 --- a/crawlers/deploy/ethereum-trending.service +++ b/crawlers/deploy/ethereum-trending.service @@ -8,5 +8,7 @@ User=ubuntu Group=www-data WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env -ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler trending +ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \ + --access-id "${NB_CONTROLLER_ACCESS_ID}" \ + trending SyslogIdentifier=ethereum-trending diff --git a/crawlers/deploy/ethereum-txpool.service b/crawlers/deploy/ethereum-txpool.service index d8f7c6ef..c580e6e9 100644 --- a/crawlers/deploy/ethereum-txpool.service +++ b/crawlers/deploy/ethereum-txpool.service @@ -11,7 +11,9 @@ 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 ethereum -access-id "${NB_CONTROLLER_ACCESS_ID}" +ExecStart=/home/ubuntu/moonstream/crawlers/txpool/txpool \ + -blockchain ethereum \ + -access-id "${NB_CONTROLLER_ACCESS_ID}" SyslogIdentifier=ethereum-txpool [Install] diff --git a/crawlers/deploy/polygon-missing.service b/crawlers/deploy/polygon-missing.service index 3bd873e7..d65cf10a 100644 --- a/crawlers/deploy/polygon-missing.service +++ b/crawlers/deploy/polygon-missing.service @@ -8,5 +8,7 @@ User=ubuntu Group=www-data WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env -ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler blocks missing --blockchain polygon -n +ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \ + --access-id "${NB_CONTROLLER_ACCESS_ID}" \ + blocks missing --blockchain polygon -n SyslogIdentifier=polygon-missing diff --git a/crawlers/deploy/polygon-moonworm-crawler.service b/crawlers/deploy/polygon-moonworm-crawler.service index 845e8d84..e8f988db 100644 --- a/crawlers/deploy/polygon-moonworm-crawler.service +++ b/crawlers/deploy/polygon-moonworm-crawler.service @@ -11,7 +11,9 @@ 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 crawl -b polygon +ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.moonworm_crawler.cli \ + --access-id "${NB_CONTROLLER_ACCESS_ID}" \ + crawl -b polygon SyslogIdentifier=polygon-moonworm-crawler [Install] diff --git a/crawlers/deploy/polygon-statistics.service b/crawlers/deploy/polygon-statistics.service index d82eae9e..06f28681 100644 --- a/crawlers/deploy/polygon-statistics.service +++ b/crawlers/deploy/polygon-statistics.service @@ -8,5 +8,7 @@ User=ubuntu Group=www-data WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env -ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.stats_worker.dashboard generate --blockchain polygon +ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.stats_worker.dashboard \ + --access-id "${NB_CONTROLLER_ACCESS_ID}" \ + generate --blockchain polygon SyslogIdentifier=polygon-statistics diff --git a/crawlers/deploy/polygon-synchronize.service b/crawlers/deploy/polygon-synchronize.service index 190d98f5..51f8a374 100644 --- a/crawlers/deploy/polygon-synchronize.service +++ b/crawlers/deploy/polygon-synchronize.service @@ -11,7 +11,9 @@ User=ubuntu Group=www-data 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 polygon -c 60 -j 2 +ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler \ + --access-id "${NB_CONTROLLER_ACCESS_ID}" \ + blocks synchronize --blockchain polygon -c 60 -j 2 SyslogIdentifier=polygon-synchronize [Install] diff --git a/crawlers/deploy/polygon-txpool.service b/crawlers/deploy/polygon-txpool.service index 7934690c..fb07b49f 100644 --- a/crawlers/deploy/polygon-txpool.service +++ b/crawlers/deploy/polygon-txpool.service @@ -11,7 +11,9 @@ 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}" +ExecStart=/home/ubuntu/moonstream/crawlers/txpool/txpool \ + -blockchain polygon \ + -access-id "${NB_CONTROLLER_ACCESS_ID}" SyslogIdentifier=polygon-txpool [Install]