mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 21:06:50 +00:00
Update systemd.markdown
I found that After=network.target was not robust enough for Auto-discovery to work correctly and find devices on the network. I changed this to After=network-online.target to wait until the network was completely "up" before starting.
This commit is contained in:
parent
6a49dae9b0
commit
2da586c0b4
@ -28,7 +28,7 @@ A service file is needed to control Home Assistant with `systemd`. The template
|
||||
```
|
||||
[Unit]
|
||||
Description=Home Assistant
|
||||
After=network.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
@ -46,7 +46,7 @@ If you've setup Home Assistant in `virtualenv` following our [Python installatio
|
||||
```
|
||||
[Unit]
|
||||
Description=Home Assistant
|
||||
After=network.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
Loading…
x
Reference in New Issue
Block a user