Add native macOS launchd setup for non-Nix users - #644
Open
sathwick-p wants to merge 1 commit into
Open
Conversation
…r non nix macos users
Contributor
|
ITT just a plist with some instructions as a comment would be better, a big script is kinda hard to understand There're conventions about where files go on install so it's quite possible that those wouldn't even need to be templated i.e. /usr/local: https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard bit different on a mac but the general idea is the same |
Author
|
In that case the user would have to copy to the LaunchAgents directory and manually run launchctl bootstrap commands. The current helper also handles custom paths, config/data locations and service management removing these will add more setup and maintenance overhead for the user. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a native macOS launchd setup for users who run Hister directly without Nix or Docker. The helper installs a per-user LaunchAgent that runs hister listen, starts at login, restarts after unexpected exits and shutdowns.
I've tested the setup manually on my mac couple of times and also have updated the webui as well.
AI Disclosure : I've used gpt-5.6-sol for implementation feedback, review, and tests.