mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 14:31:02 +02:00
app-admin/etcd-wrapper: Address etcd-member race.
In some cases etcd is able to start before systemd-resolved has populated the /etc/resolv.conf file. This commit addresses this by adding a dependency on netowrk-online.target. This will ensure that systemd-resolved finishes it's work before etcd-member.service starts.
This commit is contained in:
parent
d757194f05
commit
0dfd2ec65e
@ -1,7 +1,8 @@
|
||||
[Unit]
|
||||
Description=etcd (System Application Container)
|
||||
Documentation=https://github.com/coreos/etcd
|
||||
Wants=network.target
|
||||
Wants=network-online.target network.target
|
||||
After=network-online.target
|
||||
Conflicts=etcd.service
|
||||
Conflicts=etcd2.service
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user