gismo141 / homebridge-server

Server plugin for homebridge
https://gismo141.github.io/configure-your-homebridge-2/
152 stars 20 forks source link

Understanding the installation process #52

Closed RickHOZ closed 5 years ago

RickHOZ commented 6 years ago

Hi,

Firstly, I am very sorry for these naive questions.

I am an absolute novice. I have managed to get homebridge installed and I am currently running a platform.

I have been having issues trying to add a second platform and when I found your solution I thought it might help me, however, I am having issues getting it installed as I do not know what some of the items and terms used in your installation section mean.

 "log"     : "<PATH_TO_YOUR_LOG_FILE>",
"restart" : "<COMMAND_TO_EXECUTE>"

I have Homebridge installed on a mac mini and to start the homebridge I simply type homebridge into a terminal window and it starts it and I am under the impression when I close the terminal window it then stops the homebridge running.

So, therefore, I am asking for more detail with regards to the correct information I should be using for both the log and the restart above.

Thank in advance for any help you can give me.

gismo141 commented 6 years ago

Please read the section launchd to get info for different setup scenarios (launchd is a Mac OS X service).

The easiest thing to try it out would be to start homebridge with a similar command as this one:

homebridge > /var/log/homebridge.log 2>&1 &

/var/log/homebridge.log should be a valid file, create it first or state a different location.

gismo141 commented 5 years ago

Closing due to inactivity.