systemd-unit: Wait for network is online (#1565)
Wait for EVCC service startup until network is completly up and online.
This commit is contained in:
parent
7959b0daec
commit
c26ec7e540
1 changed files with 2 additions and 1 deletions
|
|
@ -94,7 +94,8 @@ Use the following `systemd` unit description to configure EVCC as service (put i
|
|||
```none
|
||||
[Unit]
|
||||
Description=evcc
|
||||
After=syslog.target network.target
|
||||
After=syslog.target network-online.target
|
||||
Wants=network-online.target
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/evcc --log error
|
||||
Restart=always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue