Skip to content

Commit 02cef5a

Browse files
authored
Merge pull request home-assistant#4028 from caz0075/patch-1
Update systemd.markdown with After=network-online.target for robust start up
2 parents d41b8a4 + 2da586c commit 02cef5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/_docs/autostart/systemd.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ A service file is needed to control Home Assistant with `systemd`. The template
2828
```
2929
[Unit]
3030
Description=Home Assistant
31-
After=network.target
31+
After=network-online.target
3232
3333
[Service]
3434
Type=simple
@@ -46,7 +46,7 @@ If you've setup Home Assistant in `virtualenv` following our [Python installatio
4646
```
4747
[Unit]
4848
Description=Home Assistant
49-
After=network.target
49+
After=network-online.target
5050
5151
[Service]
5252
Type=simple

0 commit comments

Comments
 (0)