From 6540c25bafc41e47c1623515f484260fd6d0309a Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Mon, 14 Sep 2015 22:54:01 -0400 Subject: [PATCH] add launchd plist --- startup/org.homebridge.plist | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 startup/org.homebridge.plist 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 + + +