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

hb-service unsupported on FreeBSD-based platforms (FreeNAS specifically in this case). #784

Closed
hjdhjd opened this issue Jul 18, 2020 · 3 comments
Labels

Comments

@hjdhjd
Copy link
Contributor

hjdhjd commented Jul 18, 2020

hh-service is unsupported on FreeBSD and FreeBSD-derived platforms like FreeNAS.

Title says it all. 😄

  • Login to a FreeNAS jail with a working homebridge and homebridge-ui-x installation.
  • hb-service install
  • ✖ ERROR: This command is not supported on freebsd.

What you’d expect is for the install script to setup all the plumbing needed to start / stop homebridge on startup and on the fly on FreeBSD/FreeNAS platforms.

Logs:
See above.

Screenshots:

Environment:

  • Node.js Version: 13.10.1
  • NPM Version: 6.12.1
  • Homebridge Version: 1.1.1
  • Homebridge Config UI X Version: 4.23.2
  • Operating System: FreeNAS 11.3-U2
  • Process Supervisor: pm2 since I hb-service doesn’t support FreeBSD yet. 😄
@hjdhjd hjdhjd added the bug label Jul 18, 2020
@oznu
Copy link
Member

oznu commented Jul 18, 2020

I'm not sure this is a bug. BSD isn't Linux :)

@hjdhjd
Copy link
Contributor Author

hjdhjd commented Jul 18, 2020

Fair enough. 😄 The other categories didn’t feel right either...is it an enhancement either? I’m not asking you to make the feature better or different...I’m asking you to make it work. 😄

Any plans to add support?

@oznu
Copy link
Member

oznu commented Jul 22, 2020

FreeBSD usage is very low and there are alternatives that work, like pm2.

I'll accept a PR that adds FreeBSD support if anyone is interested in adding this - https://github.com/oznu/homebridge-config-ui-x/tree/master/src/bin/platforms

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

No branches or pull requests

2 participants