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

Fix launchd plist config to remove daemonization. #540

Merged
merged 2 commits into from
Nov 5, 2022

Conversation

jshort
Copy link
Collaborator

@jshort jshort commented Oct 18, 2022

For launchd to properly manage the process you do not want to daemonize and bg the process otherwise launchd 'loses' the process.

After loading the plist, sudo launchd list now shows the et server service with the correct pid and unloading the server kills the process(es).

@jshort
Copy link
Collaborator Author

jshort commented Oct 18, 2022

I'm pretty sure the CI failures are not related to the changes in this PR.

@MisterTea
Copy link
Owner

Looks like a failed download. Can you rerun ci?

@jshort
Copy link
Collaborator Author

jshort commented Oct 20, 2022

Looks like a failed download. Can you rerun ci?

It's a valid error zlib.net removed the 1.2.12 release (404 response). Let me see if I can upgrade to 1.2.13.

@jshort jshort force-pushed the launchctl_fix branch 2 times, most recently from 8cce3ea to e7dba2e Compare October 20, 2022 16:30
@jshort
Copy link
Collaborator Author

jshort commented Oct 20, 2022

Hmmm, we need to update vcpck microsoft/vcpkg#27271

For launchd to properly manage the process you do *not* want to
daemonize and bg the process otherwise launchd 'loses' the process.

After loading the plist, `sudo launchd list` now shows the et server
service with the correct pid and unloading the server kills the
process(es).
vcpkg now downloads zlib from github rather than zlib.net and this
should fix the issues of version tarballs being removed from zlib.net
and causing download 404s.
@jshort
Copy link
Collaborator Author

jshort commented Oct 20, 2022

Hmmm, we need to update vcpck microsoft/vcpkg#27271

vcpkg now downloads zlib from github rather than zlib.net and this
should fix the issues of version tarballs being removed from zlib.net
and causing download 404s.

@MisterTea
Copy link
Owner

Thanks!

@MisterTea MisterTea merged commit 1d9cd2b into MisterTea:master Nov 5, 2022
@jshort jshort deleted the launchctl_fix branch December 7, 2022 22:29
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