Skip to content

Add native macOS launchd setup for non-Nix users - #644

Open
sathwick-p wants to merge 1 commit into
asciimoo:masterfrom
sathwick-p:feat/macos-launchd
Open

Add native macOS launchd setup for non-Nix users#644
sathwick-p wants to merge 1 commit into
asciimoo:masterfrom
sathwick-p:feat/macos-launchd

Conversation

@sathwick-p

Copy link
Copy Markdown

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.

@nburns

nburns commented Aug 25, 2026

Copy link
Copy Markdown
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

@sathwick-p

Copy link
Copy Markdown
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.

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.

2 participants