-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
brew services minio typo #3564
Comments
Thanks @naxmefy - we will fix it. |
Fixes an issue with ``` brew services start minio Jan 11 15:04:41 My-MacBook-Pro com.apple.xpc.launchd[1] (homebrew.mxcl.minio[39214]): Service exited with abnormal code: 1 Jan 11 15:04:41 My-MacBook-Pro com.apple.xpc.launchd[1] (homebrew.mxcl.minio): Service only ran for 0 seconds. Pushing respawn out by 10 seconds. ``` From log ``` Unknown flags. ‘--config-dir=etc/minio, --address :9000, var/minio’ ``` Reference minio/minio#3564
Sent a PR upstream @naxmefy - Homebrew/homebrew-core#8743 |
i am not really familiar with homebrew formulars - that's the reason why i posted the solution here |
No problem @naxmefy - it should have been done like this in first place. Thanks for that. |
Fixes an issue with ``` brew services start minio Jan 11 15:04:41 My-MacBook-Pro com.apple.xpc.launchd[1] (homebrew.mxcl.minio[39214]): Service exited with abnormal code: 1 Jan 11 15:04:41 My-MacBook-Pro com.apple.xpc.launchd[1] (homebrew.mxcl.minio): Service only ran for 0 seconds. Pushing respawn out by 10 seconds. ``` From log ``` Unknown flags. ‘--config-dir=etc/minio, --address :9000, var/minio’ ``` Reference minio/minio#3564 Closes #8743. Signed-off-by: William Woodruff <william@tuffbizz.com>
Fixed upstream. |
Sorry to revive an old issue, but this seems to still be a problem in the latest version of the brew formula. I'm getting the following error message in the output.log file:
This line is still present in the plist file:
Adding an equal sign fixes the problem:
|
@joelanford are you using |
I was using I'm guessing these are the relevant files/lines?
Slightly off topic, but I also noticed that there may be permissions issues with the def post_install
(var/"minio").mkpath
(var/"log/minio").mkpath
(etc/"minio").mkpath
end |
That is a good suggestion, we are not native MacOS users so feel free to send a PR if you can :-) |
Fixed by minio/homebrew-stable#8 - Thanks a lot for the fix @joelanford |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Expected Behavior
should execute minio server with defined arguments inside
homebrew.mxcl.minio.plist
Current Behavior
it doesn't start the minio process
Possible Solution
inside
minio.rb
the line 58currently:
should be
Steps to Reproduce (for bugs)
brew install minio
brew services start minio
Context
i could not run minio via brew service
Your Environment
Example homebrew.mxcl.minio.plist (base ond mongodb.plist)
Example minio.rb for homebrew
The text was updated successfully, but these errors were encountered: