8000 Enable the local proxy as a service on macOS by tucksaun · Pull Request #189 · symfony-cli/symfony-cli · GitHub
[go: up one dir, main page]

Skip to content

Enable the local proxy as a service on macOS #189

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

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

tucksaun
Copy link
Member
@tucksaun tucksaun commented Oct 5, 2022

I always forget to start it after restart so I propose we make the Formula create the service automatically

@fabpot
Copy link
Contributor
fabpot commented Oct 5, 2022

Makes sense. That will work for Linux as well I suppose.

@tucksaun
Copy link
Member Author
tucksaun commented Oct 5, 2022

I suppose so if one is using homebrew.
But I never used homebrew on Linux so I can't be sure.

@fabpot fabpot merged commit cccfdaf into symfony-cli:main Oct 5, 2022
@fabpot
Copy link
Contributor
fabpot commented Oct 5, 2022

Thank you.

@tucksaun tucksaun deleted the macos-proxy-service branch October 5, 2022 17:16
@tucksaun
Copy link
Member Author
tucksaun commented Oct 5, 2022

Regarding Linux, and for the record, support would need more work:

Basically one would need to:

  1. add required files (mainly service definition but also script to enable the service) in this repo
  2. < 6FA9 li>configure GoReleaser to include files in the packages and run scripts after install (see https://goreleaser.com/customization/nfpm/)

From my experience (implementing this back then for Blackfire's agent packaging) step 1 requires quite some work and some time to be implemented properly and cross platform.
But if someone wants to work on this it looks like nFPM team did a good job on writing a good starting point: https://nfpm.goreleaser.com/tips/?h=service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0