Files
ojayanth 9400a94fc1 etcd: systemd unit support to start existing etcd node
Added etcd service and configuration file support to start etcd service
with existing cluster configuration.

Change-Id: Ia52bbf20fd1951aa76184da54af94231d2324888
Signed-off-by: ojayanth <ojayanth@in.ibm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 10:27:35 -07:00

16 lines
430 B
Desktop File

[Unit]
Description=etcd key-value store
Documentation=https://github.com/etcd-io/etcd
After=network-online.target local-fs.target remote-fs.target time-sync.target
Wants=network-online.target local-fs.target remote-fs.target time-sync.target
ConditionPathExists=/var/lib/etcd/member
[Service]
Type=notify
EnvironmentFile=/etc/etcd.d/etcd-existing.conf
ExecStart=/usr/bin/etcd
Restart=always
[Install]
WantedBy=multi-user.target