From b349ab00636222c600de3f6931f26754d65e91a2 Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Tue, 15 Sep 2015 03:11:43 -0400 Subject: [PATCH 1/2] add launchd daemon instructions --- source/getting-started/advanced.markdown | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/source/getting-started/advanced.markdown b/source/getting-started/advanced.markdown index bf2cf5698d9..3aa06195547 100644 --- a/source/getting-started/advanced.markdown +++ b/source/getting-started/advanced.markdown @@ -14,8 +14,10 @@ Here are some general tutorials on how to setup some of the more advanced deploy
+ +
@@ -96,4 +98,30 @@ sudo journalctl -f -u home-assistant ```
+
+OS X uses launchd to manage it's services. Setting up Home Assistant via launchd +will let OS X start it on boot and make sure it's always running. + +To get Home Assistant installed as a background service, run: + +```bash +$ hass --install-osx + +Home Assistant has been installed. Open it here: http://localhost:8123 + +``` + +Home Assistant will log to `~/Library/Logs/homeassistant.log` + +To uninstall the service, run: + +```bash +$ hass --uninstall-osx + +Home Assistant has been uninstalled. + +``` + +
+ ###[« Back to Getting Started](/getting-started/index.html) From 698ee259dcc92e90dc0be38ab5ee7c047f51bb6a Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Tue, 15 Sep 2015 03:16:22 -0400 Subject: [PATCH 2/2] launchd -> OS X --- source/getting-started/advanced.markdown | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/getting-started/advanced.markdown b/source/getting-started/advanced.markdown index 3aa06195547..074df8e4857 100644 --- a/source/getting-started/advanced.markdown +++ b/source/getting-started/advanced.markdown @@ -14,10 +14,10 @@ Here are some general tutorials on how to setup some of the more advanced deploy
- + - +
@@ -98,9 +98,9 @@ sudo journalctl -f -u home-assistant ```
-
-OS X uses launchd to manage it's services. Setting up Home Assistant via launchd -will let OS X start it on boot and make sure it's always running. +
+Setting up Home Assistant to run as a background service is simple. OS X will +start it on boot and make sure it's always running. To get Home Assistant installed as a background service, run: @@ -122,6 +122,6 @@ Home Assistant has been uninstalled. ``` -
+
###[« Back to Getting Started](/getting-started/index.html)