-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added basic template for penumbra & cometbft download_url
- Loading branch information
Showing
6 changed files
with
65 additions
and
33 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
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
12 changes: 12 additions & 0 deletions
12
roles/setup_install_penumbra/templates/cometbft.service.j2
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,12 @@ | ||
[Unit] | ||
Description=CometBFT for Penumbra | ||
|
||
[Service] | ||
ExecStart={{ default_home_path }}/cometbft start --home /home/penumbra/.penumbra/network_data/node0/cometbft | ||
Restart=no | ||
User=penumbra | ||
# Raise filehandle limit for RPC and P2P connections. | ||
LimitNOFILE=65536 | ||
|
||
[Install] | ||
WantedBy=default.target |
27 changes: 27 additions & 0 deletions
27
roles/setup_install_penumbra/templates/validator.service.j2
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,27 @@ | ||
[Unit] | ||
Description=Penumbra pd | ||
Wants=cometbft.service | ||
|
||
[Service] | ||
# Support binding to 443/TCP for HTTPS. | ||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE | ||
AmbientCapabilities=CAP_NET_BIND_SERVICE | ||
|
||
ExecStart={{ default_home_path }}/pd start | ||
# Consider adding an HTTPS URL if you have DNS set up: | ||
# ExecStart=/usr/local/bin/pd start --grpc-auto-https www.example.com | ||
|
||
# Disable automatic restart, since governance votes can intentionally halt the chain. | ||
# If you're running a validator, you should configure uptime monitoring. | ||
Restart=no | ||
|
||
# Assumes that the `penumbra` user exists. | ||
User=penumbra | ||
|
||
# Raise filehandle limit for tower-abci. | ||
LimitNOFILE=65536 | ||
# Consider configuring logrotate if using debug logs | ||
# Environment=RUST_LOG=info,pd=debug,penumbra=debug,jmt=debug | ||
|
||
[Install] | ||
WantedBy=default.target |