homebridge: Running Homebridge on Bootup (init.d) error

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.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15

Most upvoted comments

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/