diff --git a/startup/org.homebridge.plist b/startup/org.homebridge.plist new file mode 100644 index 0000000..a0a703e --- /dev/null +++ b/startup/org.homebridge.plist @@ -0,0 +1,41 @@ + + + + + Label + org.homebridge + + EnvironmentVariables + + PATH + /usr/local/bin/:/usr/bin:$PATH + NODE_ENV + production + + + Program + script/server + + AbandonProcessGroup + + + RunAtLoad + + + KeepAlive + + SuccessfulExit + + + + WorkingDirectory + %PATH% + + StandardErrorPath + /Users/%USER%/Library/Logs/homebridge.log + + StandardOutPath + /Users/%USER%/Library/Logs/homebridge.log + + +