From 3b27bef1acdfe21d5dacd7b0dad1eb9bf2b1a2bd Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Tue, 15 Sep 2015 02:35:20 -0400 Subject: [PATCH] DOCS --- homeassistant/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/__main__.py b/homeassistant/__main__.py index ee9b595eeaa..8166ef583d9 100644 --- a/homeassistant/__main__.py +++ b/homeassistant/__main__.py @@ -162,6 +162,7 @@ def write_pid(pid_file): def install_osx(): + """ Setup to run via launchd on OS X """ hass_path = os.popen('which hass').read().strip() user = os.popen('whoami').read().strip() @@ -189,6 +190,7 @@ def install_osx(): def uninstall_osx(): + """ Unload from launchd on OS X """ path = os.path.expanduser("~/Library/LaunchAgents/org.homeassistant.plist") os.popen('launchctl unload ' + path)