26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
# Linux installer layout
|
|
|
|
`install.sh` and `uninstall.sh` are copied into each Linux release payload.
|
|
`service/echoion.service.in` is rendered by the installer for user or system
|
|
systemd scope. `tests/installer_test.sh` exercises portable installation,
|
|
service opt-in, rollback, tamper protection, preservation, and purge behavior.
|
|
System-scoped payloads are normalized to root ownership. Registered-service
|
|
prefixes require a trusted path not writable by other identities. Purge uses
|
|
recorded directory identity plus an installer marker before removing custom
|
|
mutable paths.
|
|
Install and uninstall also take a nonblocking advisory lock on the prefix
|
|
directory so concurrent lifecycle operations fail before changing the runtime.
|
|
Self-contained portable installs add a managed `echoion` launcher and relative
|
|
install metadata, allowing a service-free tree to be moved and uninstalled as
|
|
one directory.
|
|
|
|
Create publishable artifacts from the repository root:
|
|
|
|
```bash
|
|
scripts/release.sh --version 1.2.3
|
|
```
|
|
|
|
The default command uses the version-pinned release toolchain container and
|
|
does not start the bot. Installation flags and data layouts are documented in
|
|
the root README.
|