question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running Homebridge on Bootup (init.d) error

See original GitHub issue

I am trying to follow the init.d guide but when trying to start the service manually

sudo /etc/init.d/homebridge start

I get the following error in log

sudo: /usr/local/bin/homebridge: command not found

I am a beginner and apologize if this has already been answered.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15

github_iconTop GitHub Comments

4reactions
timlelandcommented, Oct 13, 2016

Most likely homebridge is in /usr/bin/ so removing the “local” should fix it. Here is my guide if you want to use systemd to start on boot up and restart on errors. https://timleland.com/setup-homebridge-to-start-on-bootup/

0reactions
stale[bot]commented, Oct 31, 2017

This issue has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this issue was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running Homebridge on Bootup (init.d) error · Issue #840
I am trying to follow the init.d guide but when trying to start the service manually. sudo /etc/init.d/homebridge start.
Read more >
Setup Homebridge to Start on Bootup - Tim Leland
I decided to use systemd to start Homebridge on bootup. I prefered this method because it will restart if an error occurs.
Read more >
Run homebridge as a service upon reboot - A Mutable Log
This post shows how to run homebridge automatically upon reboot using upstart. If you're using systemd, the default initialization system these ...
Read more >
[pm2][error] init system not found - You.com - You.com
I'd like to execute the command that startup generates during provisioning (I'm using ansible and packer to build an AMI). I've tried the...
Read more >
Hello, Home HomeKit (and Siri!) control via homebridge ...
Np. I have mine starting on boot with a systemd init script which will automatically respawn it if the process crashes. So I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found