Skip to content

refactor(seismic): name the setup scripts after their units - #77

Merged
samlaf merged 2 commits into
seismicfrom
sl/setup-scripts-match-unit-names
Oct 6, 2026
Merged

samlaf merged 2 commits into
seismicfrom
sl/setup-scripts-match-unit-names

Conversation

@samlaf

@samlaf samlaf commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

persistent-luks-setup.service ran /usr/bin/setup-persistent-luks, and nginx-ssl-setup.service ran /usr/bin/setup-nginx-ssl. The scripts now carry their units' names, so the name in a log line, a status message or a doc is the one systemctl and journalctl -u take. The units keep their names: they put the component first, like the rest of the image's units.

Nothing outside this repo runs the scripts by name. Other repos mention them only in comments and docs, which follow once this merges.

persistent-luks-setup.service ran /usr/bin/setup-persistent-luks, and
nginx-ssl-setup.service ran /usr/bin/setup-nginx-ssl. The scripts now
carry their units' names, so the name in a log line, a status message
or a doc is the one systemctl and journalctl -u take. The units keep
their names: they put the component first, like the rest of the
image's units.

Nothing outside this repo runs the scripts by name. Other repos
mention them only in comments and docs, which follow once this merges.
@samlaf
samlaf requested a review from a team as a code owner October 5, 2026 19:59
The previous commit dropped its mode from 755 to 644, and mkosi refuses
to run a postinst that is not executable.
@samlaf
samlaf merged commit cafebce into seismic Oct 6, 2026
5 checks passed
@samlaf
samlaf deleted the sl/setup-scripts-match-unit-names branch October 6, 2026 14:01
samlaf added a commit to SeismicSystems/seismic that referenced this pull request Oct 6, 2026
seismic-images renamed the disk script after its unit
(SeismicSystems/seismic-images#77), so
architecture.md's link to it no longer resolved. That link, the key
schedule's consumer column and a status.rs comment follow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant