Repository navigation
refactor(seismic)!: prefix every node unit and script with seismic- - #85
Merged
Merged
Conversation
systemd unit names live in one flat, global namespace, with nothing like
a Kubernetes namespace to group them, so a shared name prefix is how to
group the node's own services. Every unit the image ships is now
seismic-<name>, which gives:
- one drop-in directory, seismic-.service.d/, that reaches all of them:
systemd searches the prefix of a dashed unit name for drop-ins. The
sandbox baseline that follows uses it in place of a symlink per unit.
- one handle on a running node:
systemctl list-units 'seismic-*'
journalctl -u 'seismic-*'
The image scripts follow their units' names, and reth's slice becomes
seismic-reth.slice, still outside system.slice's reservation of port
8545. User accounts and the binaries built from other repos keep their
names.
BREAKING CHANGE: operators address units by the new names, e.g.
`journalctl -u seismic-reth` and `systemctl restart seismic-summit.target`.
Contributor
Author
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

systemd unit names live in one flat, global namespace, with nothing like a Kubernetes namespace to group them, so a shared name prefix is how to group the node's own services. Every unit the image ships is now seismic-, which gives:
The image scripts follow their units' names, and reth's slice becomes seismic-reth.slice, still outside system.slice's reservation of port
8545. User accounts and the binaries built from other repos keep their names.
BREAKING CHANGE: operators address units by the new names, e.g.
journalctl -u seismic-rethandsystemctl restart seismic-summit.target.