Skip to content

Commit

Permalink
Allow SPOs to reload topology configuration changes (#1112)
Browse files Browse the repository at this point in the history
* Added topology config refresh ability to systemd reload

Co-authored-by: RdLrT <3169068+rdlrt@users.noreply.github.com>

---------

Co-authored-by: jadjei <jon@fluid7.co.uk>
Co-authored-by: RdLrT <3169068+rdlrt@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 29, 2023
1 parent eb22ed7 commit a17cc9e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/operate-a-stake-pool/cardano-relay-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ User = <$USER>
Type = simple
WorkingDirectory = <$HOME>/cardano-testnet
ExecStart = /bin/bash -c '<$HOME>/cardano-testnet/startTestNode.sh'
ExecReload = pkill -HUP cardano-node
KillSignal = SIGINT
RestartKillSignal = SIGINT
TimeoutStopSec = 300
Expand Down Expand Up @@ -220,3 +221,9 @@ Dec 1 15:31:40 localhost cardano-testnode[162851]: #033[35m[localhos:cardano.no
```

Syncing the blockchain from zero can take a while. Please be patient. If you want to stop syncing, you can do so using the command `sudo systemctl stop cardano-node`. Restarting the relay node will resume syncing the blockchain.

## Reloading the Topology configuration

In case you have made an update to `topology.json` file, since this node is assumed to be running in P2P mode - you can can load these changes without having to perform a full node restart using command below:

sudo systemctl reload cardano-node

0 comments on commit a17cc9e

Please sign in to comment.