Could you post the details please ?
Sure, it does require a bit of terminal work. Also make sure homebridge is not running!
1) cd ~/Library/LaunchAgents
2) create a file called: com.homebridge.server.plist
3) enter to following as the contents of the .plist file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.homebridge.server</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/homebridge</string>
<string>-I</string>
</array>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin/:$PATH</string>
</dict>
</dict>
</plist>
4) save the file
5) to load the file so it automatically starts/restarts:
launchctl load ~/Library/LaunchAgents/com.homebridge.server.plist
6) to stop the file for any reason run:
launchctl unload ~/Library/LaunchAgents/com.homebridge.server.plist