Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac commands for "Running Pat as a background service" #452

Open
mwwoodm opened this issue Jun 23, 2024 · 1 comment
Open

Mac commands for "Running Pat as a background service" #452

mwwoodm opened this issue Jun 23, 2024 · 1 comment

Comments

@mwwoodm
Copy link

mwwoodm commented Jun 23, 2024

It'd be great if you would be able to include the UNIX commands for "Running Pat as a background service" on Mac. I've figured out that the UNIX command is lunchctl, but the command "sudo launchctl start gui/$UID/pat" doesn't give a new pat process under ps the way the command "pat http" does.

@kd8drx
Copy link
Contributor

kd8drx commented Jul 24, 2024

Every Unix handles this different (though most still use BSD's init in some form, AFAIK). LaunchCtl is a special, unique creature that has a lot of quirks owing to macOS' tighter sandboxing and security requirements.

The solution here would be providing the necessary launchDaemon files, either in package or via documentation.

Re: #456, If we go forward with a Brew.sh distribution, there is some nice logic there for providing launchDaemons if requested by the user: https://docs.brew.sh/Formula-Cookbook#service-files

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

No branches or pull requests

2 participants