Skip to content

fix: persist autostart PATH#32

Merged
tuchg merged 1 commit into
mainfrom
codex/fix-autostart-cli-path
May 25, 2026
Merged

fix: persist autostart PATH#32
tuchg merged 1 commit into
mainfrom
codex/fix-autostart-cli-path

Conversation

@tuchg

@tuchg tuchg commented May 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Persist the PATH visible to lucarned autostart install into macOS LaunchAgent plist and Linux systemd unit files.
  • Keep the service environment package-manager agnostic: no HOMEBREW_PATH and no unrelated environment snapshot.
  • Document the daemon-startup PATH decision.

Tests

  • cargo +nightly fmt --check
  • env LUCARNE_AUTOSTART_EXPECT_PATH=1 cargo +nightly test -Zbuild-dir-new-layout -p lucarned-ctl service_path_env_reads_requested_current_process_path -- --quiet
  • cargo +nightly check -Zbuild-dir-new-layout -p lucarned-ctl
  • cargo +nightly test -Zbuild-dir-new-layout -p lucarned-ctl -- --quiet
  • git diff --check

Closes #31

@tuchg tuchg merged commit 191a95f into main May 25, 2026
6 checks passed
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.

agent 启动失败

1 participant