mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Add more details (fix for #368)
This commit is contained in:
parent
08f4293ed7
commit
83a743f8b5
@ -51,7 +51,7 @@ $ ps -p 1 -o comm=
|
|||||||
|
|
||||||
If the preceding command returns the string `systemd`, you are likely using `systemd`.
|
If the preceding command returns the string `systemd`, you are likely using `systemd`.
|
||||||
|
|
||||||
If you want Home Assistant to be launched automatically, an extra step is needed to setup `systemd`. You need a service file to control Home Assistant with `systemd`. If you are using a Raspberry Pi then replace the `[your user]` with `pi` otherwise use your user you want to run Home Assistant.
|
If you want Home Assistant to be launched automatically, an extra step is needed to setup `systemd`. You need a service file to control Home Assistant with `systemd`. If you are using a Raspberry Pi with Raspbian then replace the `[your user]` with `pi` otherwise use your user you want to run Home Assistant. `ExecStart` contains the path to `hass` and this may vary. Check with `whereis hass` for the location.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ su -c 'cat <<EOF >> /lib/systemd/system/home-assistant@[your user].service
|
$ su -c 'cat <<EOF >> /lib/systemd/system/home-assistant@[your user].service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user