interop-workloads/workloads/ansible/shade/k8s/roles/master/templates/etcd.coreos.j2

15 lines
312 B
Django/Jinja
Executable File

[Unit]
Description=etcd2 even the name is called etcd
[Service]
Type=notify
ExecStart=/bin/etcd2 \
--advertise-client-urls=http://{{ private_ip }}:2379 \
--listen-client-urls=http://{{ private_ip }}:2379
Restart=always
RestartSec=10s
LimitNOFILE=40000
TimeoutStartSec=0
[Install]
WantedBy=multi-user.target