-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrey
committed
Nov 12, 2024
1 parent
5aa0f2f
commit 83f3954
Showing
5 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[Unit] | ||
Description=Seer crawler service for Game7 blockchain | ||
After=network.target | ||
StartLimitIntervalSec=300 | ||
StartLimitBurst=3 | ||
|
||
[Service] | ||
WorkingDirectory=/home/ubuntu/seer | ||
EnvironmentFile=/home/ubuntu/seer-secrets/app.env | ||
Restart=on-failure | ||
RestartSec=15s | ||
ExecStart=/home/ubuntu/seer/seer crawler --chain game7 --confirmations 0 --threads 2 --proto-time-limit 1 --retry-wait 1000 --retry-multiplier 1 --batch-size 0 | ||
SyslogIdentifier=seer-crawler-game7 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[Unit] | ||
Description=Seer historical synchronizer service for game7 blockchain | ||
After=network.target | ||
StartLimitIntervalSec=300 | ||
StartLimitBurst=3 | ||
|
||
[Service] | ||
WorkingDirectory=/home/ubuntu/seer | ||
EnvironmentFile=/home/ubuntu/seer-secrets/app.env | ||
Restart=on-failure | ||
RestartSec=15s | ||
ExecStart=/home/ubuntu/seer/seer historical-sync --auto --chain game7 | ||
SyslogIdentifier=seer-historical-synchronizer-game7 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Unit] | ||
Description=Runs seer historical synchronizer on game7 | ||
|
||
[Timer] | ||
OnBootSec=60s | ||
OnUnitActiveSec=10m | ||
|
||
[Install] | ||
WantedBy=timers.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[Unit] | ||
Description=Seer synchronizer service for game7 blockchain | ||
After=network.target | ||
StartLimitIntervalSec=300 | ||
StartLimitBurst=3 | ||
|
||
[Service] | ||
WorkingDirectory=/home/ubuntu/seer | ||
EnvironmentFile=/home/ubuntu/seer-secrets/app.env | ||
Restart=on-failure | ||
RestartSec=15s | ||
ExecStart=/home/ubuntu/seer/seer synchronizer --chain game7 --cycle-ticker-wait-time 1 | ||
SyslogIdentifier=seer-synchronizer-game7 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |