Ganesh Hegde 2a89ec8573
update macos autostart doc with a footnote (#13006)
* update macos autostart doc with a footnote

Related to #12947

* add missing code language flag
2020-04-16 22:29:42 +02:00

36 lines
931 B
Markdown

---
title: "Autostart on macOS"
description: "Instructions on how to setup Home Assistant to launch on Apple macOS."
redirect_from: /getting-started/autostart-macos/
---
Setting up Home Assistant to run as a background service is simple; macOS will start Home Assistant after the system has booted, the user has logged in, and make sure it's always running.
To get Home Assistant installed as a background service, run:
```bash
$ hass --script macos install
Home Assistant has been installed. Open it here: http://localhost:8123
```
Home Assistant will log to `~/Library/Logs/homeassistant.log`
Configuration is kept in `~/.homeassistant`
To uninstall the service, run:
```bash
$ hass --script macos uninstall
Home Assistant has been uninstalled.
```
Note:
`automake` is required for `hass` to start. If you are missing this on your system, you can install this by running:
```bash
$ brew install autoconf
```