From b349ab00636222c600de3f6931f26754d65e91a2 Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Tue, 15 Sep 2015 03:11:43 -0400 Subject: [PATCH] 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)