Update autostart-systemd.markdown

This commit is contained in:
Alex Harvey 2016-04-24 01:17:04 -07:00
parent 8373fc4f55
commit 61516f8d91

View File

@ -35,10 +35,10 @@ WantedBy=multi-user.target
EOF' EOF'
``` ```
There is also another [sample service file](https://raw.githubusercontent.com/balloob/home-assistant/master/script/home-assistant%40.service) available. To use this one, just download it. There is also another [sample service file](https://raw.githubusercontent.com/home-assistant/home-assistant/master/script/home-assistant%40.service) available. To use this one, just download it.
```bash ```bash
$ sudo wget https://raw.githubusercontent.com/balloob/home-assistant/master/script/home-assistant%40.service -O /lib/systemd/system/home-assistant@[your user].service $ sudo wget https://raw.githubusercontent.com/home-assistant/home-assistant/master/script/home-assistant%40.service -O /lib/systemd/system/home-assistant@[your user].service
``` ```
You need to reload `systemd` to make the daemon aware of the new configuration. Enable and launch Home Assistant after that. You need to reload `systemd` to make the daemon aware of the new configuration. Enable and launch Home Assistant after that.