Skip to content
This repository was archived by the owner on Jul 24, 2026. It is now read-only.

Add linux support#6

Merged
dimitriosGX merged 2 commits into
masterfrom
dk-quar5
Jul 15, 2026
Merged

Add linux support#6
dimitriosGX merged 2 commits into
masterfrom
dk-quar5

Conversation

@dimitriosGX

@dimitriosGX dimitriosGX commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary by cubic

Add Linux support with a per-user systemd service for the detector daemon. It auto-starts on login, restarts on failure, and falls back cleanly on non-systemd distros.

  • New Features

    • Added service::linux using a per-user unit at ~/.config/systemd/user/edison-detectord.service (selected on target_os = "linux").
    • Idempotent install writes the unit, seeds PATH, appends logs to logs/detectord.log, reloads, and enables --now; uninstall disables and removes the unit.
    • Supports enforcing vs report-only modes via ExecStart (--enforce or --no-hooks).
    • Detects when a systemd user instance is unavailable and returns an actionable message suggesting edison-detectord daemon as a fallback.
  • Bug Fixes

    • Quote the binary path in ExecStart to handle spaces and avoid status=203/EXEC; added tests to cover this.

Written for commit 8bfb028. Summary will update on new commits.

Review in cubic

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files

Confidence score: 5/5

  • Safe to merge after the addressed issues were fixed.

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread crates/mcp_detector_daemon/src/service/linux.rs
@dimitriosGX
dimitriosGX requested a review from IliaMManolov July 14, 2026 14:05
@dimitriosGX
dimitriosGX merged commit 974dc12 into master Jul 15, 2026
11 checks passed
@dimitriosGX
dimitriosGX deleted the dk-quar5 branch July 15, 2026 06:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant