Set the DB path as an env var in systemd service files to prevent footgunning #955

Merged
Jade merged 2 commits from ginger/continuwuity:set-db-path-in-service into main 2025-09-02 13:13:09 +00:00
Member

Fixes #952.

We should probably think about consolidating the three service files and deciding what content actually needs to be different between them. I think systemd has a system for adding config overrides, so we could ship a single base service file and combine it with distro-specific overrides as necessary.

Fixes #952. We should probably think about consolidating the three service files and deciding what content actually needs to be different between them. I think systemd has a system for adding config overrides, so we could ship a single base service file and combine it with distro-specific overrides as necessary.
Jade force-pushed set-db-path-in-service from c3eb886fef
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
to c868bb3533
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
2025-08-31 02:01:59 +00:00
Compare
ginger force-pushed set-db-path-in-service from c868bb3533
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
to 0006eba799
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
2025-08-31 16:28:00 +00:00
Compare
Jade approved these changes 2025-09-01 12:10:03 +00:00
nex added this to the v0.5.0-rc.8 milestone 2025-09-01 13:08:49 +00:00
nex approved these changes 2025-09-01 13:20:18 +00:00
ginger force-pushed set-db-path-in-service from 0006eba799
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
to 99b44bbf09
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Release Docker Image / define-variables (push) Successful in 10s
Documentation / Build and Deploy Documentation (push) Successful in 40s
Checks / Prek / Pre-commit & Formatting (push) Failing after 1m12s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 5m59s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Successful in 13m49s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Successful in 13m37s
Release Docker Image / merge (push) Successful in 14s
2025-09-01 17:50:12 +00:00
Compare
Jade scheduled this pull request to auto merge when all checks succeed 2025-09-01 17:53:18 +00:00
Jade merged commit 99b44bbf09 into main 2025-09-02 13:13:09 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity!955
No description provided.