Merge pull request #60 from maddox/osx-install

Add launchd Daemon Instructions
This commit is contained in:
Paulus Schoutsen 2015-09-15 00:18:36 -07:00
commit c70b28d78b

View File

@ -14,8 +14,10 @@ Here are some general tutorials on how to setup some of the more advanced deploy
<div class='advanced-installs-container'> <div class='advanced-installs-container'>
<input name='advanced-installs' type='radio' id='upstart-install' checked> <input name='advanced-installs' type='radio' id='upstart-install' checked>
<input name='advanced-installs' type='radio' id='systemd-install'> <input name='advanced-installs' type='radio' id='systemd-install'>
<input name='advanced-installs' type='radio' id='osx-install'>
<label class='menu-selector upstart' for='upstart-install'>Upstart Daemon</label> <label class='menu-selector upstart' for='upstart-install'>Upstart Daemon</label>
<label class='menu-selector systemd' for='systemd-install'>Systemd Daemon</label> <label class='menu-selector systemd' for='systemd-install'>Systemd Daemon</label>
<label class='menu-selector osx' for='osx-install'>OS X</label>
<div class='advanced-installs upstart'> <div class='advanced-installs upstart'>
@ -96,4 +98,30 @@ sudo journalctl -f -u home-assistant
``` ```
</div> <!-- SYSTEMD --> </div> <!-- SYSTEMD -->
<div class='advanced-installs osx'>
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:
```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.
```
</div> <!-- OSX -->
###[&laquo; Back to Getting Started](/getting-started/index.html) ###[&laquo; Back to Getting Started](/getting-started/index.html)