Remove unused Wants=network.target from etcd-member

* network.target is a passive unit that's not actually pulled
in by units requiring or wanting it, its only used for shutdown
ordering
> "Services using the network should ... avoid any Wants=network.target or even Requires=network.target"

Rel: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
This commit is contained in:
Dalton Hubble
2022-10-19 20:50:08 -07:00
parent 08d13e7215
commit a535581ef2
6 changed files with 11 additions and 5 deletions

View File

@ -9,7 +9,7 @@ systemd:
[Unit]
Description=etcd (System Container)
Documentation=https://github.com/etcd-io/etcd
Wants=network-online.target network.target
Wants=network-online.target
After=network-online.target
[Service]
Environment=ETCD_IMAGE=quay.io/coreos/etcd:v3.5.5