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

Error: undefined method `plist_startup' for #<Formula reindexer (stable) /opt/homebrew/Library/Taps/restream/homebrew-reindexer/reindexer.rb> #5

Open
szonov opened this issue Mar 15, 2024 · 1 comment

Comments

@szonov
Copy link

szonov commented Mar 15, 2024

I've got this error during start reindexer service on macos

service up reindexer
Error: undefined method `plist_startup' for #<Formula reindexer (stable) /opt/homebrew/Library/Taps/restream/homebrew-reindexer/reindexer.rb>
Did you mean?  plist_name
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/formula_wrapper.rb:71:in `service_startup?'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:280:in `service_load'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:122:in `block in start'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:97:in `each'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:97:in `start'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/commands/start.rb:12:in `run'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/cmd/services.rb:139:in `services'
/opt/homebrew/Library/Homebrew/brew.rb:86:in `<main>'

Same problem also exists for other services and proposed following:

  service do
    name macos: "#{plist_name}"
  end

I've put it to /opt/homebrew/Library/Taps/restream/homebrew-reindexer/reindexer.rb before install section and problem disappears.

Can you fix it also in repo?

@MadSchemas
Copy link
Contributor

Thank you for the report. Added this fix in repo 2292bc9

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