From 332f7621ce7c3feda64aea3b8782b0c8e6e2ee63 Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Tue, 15 Sep 2015 01:06:31 -0400 Subject: [PATCH] launchd script for loading HA at boot and background on OS X --- scripts/org.home-assistant.plist | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 scripts/org.home-assistant.plist diff --git a/scripts/org.home-assistant.plist b/scripts/org.home-assistant.plist new file mode 100644 index 00000000000..b445852e05f --- /dev/null +++ b/scripts/org.home-assistant.plist @@ -0,0 +1,39 @@ + + + + + Label + org.home-assitant + + EnvironmentVariables + + PATH + /usr/local/bin/:/usr/bin:$PATH + + + Program + %HASS_PATH% + + AbandonProcessGroup + + + RunAtLoad + + + KeepAlive + + SuccessfulExit + + + + WorkingDirectory + %PATH% + + StandardErrorPath + /Users/%USER%/Library/Logs/home-assitant.log + + StandardOutPath + /Users/%USER%/Library/Logs/home-assitant.log + + +