Skip to content

Scripted installer for the native systemd deploy - #41

Merged
lgutschow merged 1 commit into
mainfrom
native-install-script
Aug 2, 2026
Merged

Scripted installer for the native systemd deploy#41
lgutschow merged 1 commit into
mainfrom
native-install-script

Conversation

@lgutschow

Copy link
Copy Markdown
Contributor

The native systemd path was prose only. deploy/install.sh is the Docker installer and claims /opt/flashback with a different layout, so it can't be reused here.

Idempotent — re-running is the upgrade path. It reads the existing password back out of .env rather than regenerating, and stops the services before swapping binaries so a restart can't leave old code reporting healthy.

Writes PROVIDER=heuristic unless a model is named, since a config pointing at an unpulled model starts fine and fails every distillation silently.

Assumes Postgres is already installed; provisioning the database server stays out of a deploy that runs on every upgrade.

The systemd path was documented in prose only — deploy/install.sh is the
Docker installer and claims the same directory with a different layout.

Idempotent, so it doubles as the upgrade path: re-running rebuilds, swaps
binaries and restarts without regenerating the database password.
@lgutschow
lgutschow force-pushed the native-install-script branch from 8498426 to e5eb644 Compare August 2, 2026 04:32
@lgutschow
lgutschow merged commit a2a3d1f into main Aug 2, 2026
12 checks passed
@sonarqubecloud

sonarqubecloud Bot commented Aug 2, 2026

Copy link
Copy Markdown

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