mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Merge pull request #4028 from caz0075/patch-1
Update systemd.markdown with After=network-online.target for robust start up
This commit is contained in:
commit
02cef5ae20
@ -28,7 +28,7 @@ A service file is needed to control Home Assistant with `systemd`. The template
|
|||||||
```
|
```
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Home Assistant
|
Description=Home Assistant
|
||||||
After=network.target
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
@ -46,7 +46,7 @@ If you've setup Home Assistant in `virtualenv` following our [Python installatio
|
|||||||
```
|
```
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Home Assistant
|
Description=Home Assistant
|
||||||
After=network.target
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
Loading…
x
Reference in New Issue
Block a user