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

Instructions for running homebridge as root are out of date #22

Closed
conradlee opened this issue Jul 6, 2022 · 2 comments
Closed

Instructions for running homebridge as root are out of date #22

conradlee opened this issue Jul 6, 2022 · 2 comments

Comments

@conradlee
Copy link
Contributor

In early May 2022 Homebridge changed some paths. So if you're using a newer version of homebridge, the instructions in README.md no longer work.

I've found a solution...The steps you now need to take to run homebridge as root are as follows:

  1. From the command line, run sudo systemctl edit homebridge.
  2. Change the configuration file to the following
[Service]
User=root
ExecStart=    # a blank ExecStart is required to override
ExecStart=/opt/homebridge/start.sh --allow-root

Then save the file and exit the editor.

  1. Now restart homebridge by running sudo systemctl restart homebridge
@conradlee
Copy link
Contributor Author

I've created a PR to update the docs with these instructions here.

@wibberryd
Copy link
Owner

PR merged. Thank you!

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