mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 14:56:53 +00:00
Changed order of instructions. (#1466)
Order of the instructions suggested that the sample service file could be used if you installed Hass in a virtual environment. Which isn't the case.
This commit is contained in:
parent
48703d3543
commit
eb538d9b70
@ -35,6 +35,12 @@ WantedBy=multi-user.target
|
||||
EOF'
|
||||
```
|
||||
|
||||
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
|
||||
$ sudo wget https://raw.githubusercontent.com/home-assistant/home-assistant/master/script/home-assistant%40.service -O /etc/systemd/system/home-assistant@[your user].service
|
||||
```
|
||||
|
||||
If you've setup Home Assistant in virtualenv following the guide the following template should work for you.
|
||||
|
||||
```
|
||||
@ -52,12 +58,6 @@ ExecStart=/srv/hass/bin/hass -c "/home/hass/.homeassistant"
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
||||
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
|
||||
$ sudo wget https://raw.githubusercontent.com/home-assistant/home-assistant/master/script/home-assistant%40.service -O /etc/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.
|
||||
|
||||
```bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user