mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Merge pull request #60 from maddox/osx-install
Add launchd Daemon Instructions
This commit is contained in:
commit
c70b28d78b
@ -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 -->
|
||||||
|
|
||||||
###[« Back to Getting Started](/getting-started/index.html)
|
###[« Back to Getting Started](/getting-started/index.html)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user