-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
(feat) Add service block to goreleaser brew config #597
(feat) Add service block to goreleaser brew config #597
Conversation
This block allows for dagu to be run as a service under homebrew and it then allows the following commands: ``` brew services status dagu brew services start dagu brew services stop dagu ``` When the brew install happens, there is also a prompt to the user in case they want to enable the service or run directly. The benefit here is that it enables dagu to be run as a background service automatically on startup and controlled via a centralized system.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the excellent contribution, @zph ! This change is a valuable improvement for the user experience. ✨✨✨LGTM✨✨✨
@yohamta Thank you! :D Now I can remove my forked brew recipe and share that benefit with other users. For part of my comment above: do you prefer to have a separate homebrew-tap repo for the recipe or would you like me to put up a PR to fold that too into your main repo?
|
Thanks for the following up on this, @zph ! It sounds really great! I should have done this way earlier 😅 I've given it some thoughts and would like to make a slight modification:
WDYT? 🙂 If it doesn't sound strange, I will make this change. |
Related: dagu-org#597 With this change the homebrew formula can be installed as: brew tap dagu-dev/dagu brew install dagu-dev/dagu/dagu
Related: dagu-org#597 With this change the homebrew formula can be installed as: brew tap dagu-dev/dagu brew install dagu-dev/dagu/dagu
Related: dagu-org#597 With this change the homebrew formula can be installed as: brew tap dagu-dev/dagu brew install dagu-dev/dagu/dagu
Related: dagu-org#597 With this change the homebrew formula can be installed as: brew tap dagu-dev/dagu brew install dagu-dev/dagu/dagu
Related: #597 With this change the homebrew formula can be installed as: brew tap dagu-dev/dagu brew install dagu-dev/dagu/dagu
This block allows for dagu to be run as a service under homebrew and it then allows the following commands:
When the brew install happens, there is also a prompt to the user in case they want to enable the service or run directly.
The benefit here is that it enables dagu to be run as a background service automatically on startup and controlled via a centralized system.
The resulting local brew formula is:
Related:
Let me know if you have questions about the homebrew changes :D.