Skip to content

[build] Ship a systemd user unit for the service - #291

Merged
mcraveiro merged 1 commit into
mainfrom
feature/ship-the-compass-service
Dec 5, 2026
Merged

mcraveiro merged 1 commit into
mainfrom
feature/ship-the-compass-service

Conversation

@mcraveiro

Copy link
Copy Markdown
Member

Adds one systemd user unit for the compass service, following the Emacs
daemon shape rather than ORE Studio's per-environment service units. The
checkout names the repository whose database holds every environment, so one
unit serves them all. It listens on 127.0.0.1:21080, outside ORE Studio's
range, whose base is 20600.

The package installs share/compass/systemd/ with the unit, an example
environment file and install.sh. The installer writes
~/.config/compass/service.env, installs the unit, adds the checkout's
.env as a drop-in so PGPASSWORD reaches the service, and enables and
starts it.

Verified on this machine against ores_dev_bright_faraday: the unit verifies,
the service is active, serves 42 routes, MCP at /mcp, and compass.web
answers HTTP 200 at /.

The story and task are updated, and Installed compass gains the unit in what
an installation carries.

🤖 Generated with Claude Code

One unit serves every environment of a repository's database, as the
Emacs daemon does, not one unit per environment: the checkout names the
repository and its database holds every environment. It listens on 21080,
outside ORE Studio's range whose base is 20600.

The release carries the unit, an example environment file and an
installer. The installer adds the checkout's .env as a drop-in so the
database password reaches the service, then enables and starts it.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@mcraveiro
mcraveiro merged commit eb124c2 into main Dec 5, 2026
4 checks passed
@mcraveiro
mcraveiro deleted the feature/ship-the-compass-service branch December 5, 2026 17:01

This branch was previously deployed

1 inactive deployment
CI — 6b672aaa Deployed Dec 5, 2026 by mcraveiro via linux-clang-release-ninja #589
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