Repository navigation
fix(cli): Linux service points at its journal for logs - #102
Conversation
On Linux, systemd keeps the service's output in the journal, but `vmbridge service install` pointed at ~/.vmbridge/vmbridge.log, which never exists there. For the same reason, `vmbridge` in a terminal listed no addresses for the running service. Both now read the journal on Linux.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
Problem
On Linux, systemd keeps the background service's output in the journal.
vmbridge service installstill saidLogs: ~/.vmbridge/vmbridge.log, a file that never exists there. For the same reason, runningvmbridgein a terminal while the service ran listed no addresses.Solution
Each service manager says where its output lives and reads it: launchd keeps the log file, systemd uses
journalctl --user -u vmbridge.Validation
bun run typecheck,bun test apps/cli.service installprintsLogs: journalctl --user -u vmbridge, andvmbridgein a terminal lists the service's address.Summary by CodeRabbit