mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 02:07:15 +00:00
Update autostart instructions
This commit is contained in:
parent
5a7de270dc
commit
7a9fd7b622
@ -61,7 +61,10 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=hass
|
ExecStart=/usr/local/bin/hass
|
||||||
|
# Next line is to run as a specific user
|
||||||
|
# for Raspberry Pi users, keep it at 'pi'
|
||||||
|
User=pi
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
@ -71,7 +74,7 @@ EOF'
|
|||||||
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.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo systemctl --system daemon-reload
|
sudo systemctl \-\-system daemon-reload
|
||||||
sudo systemctl enable home-assistant
|
sudo systemctl enable home-assistant
|
||||||
sudo systemctl start home-assistant
|
sudo systemctl start home-assistant
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user