mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
a179653ce2
Refer https://etcd.io/docs/v3.5/op-guide/clustering/ for etcd clustering design background details. etcd-new.service triggers only, when the config file available in the specified path. This generic serive helps to start etcd cluster based on the project specific use cases and config files. etcd-new.service only required to run on initial setup or new node add into the existing cluster. All other use cases use regular etcd.service to start etcd with existing cluster configuration. Signed-off-by: ojayanth <ojayanth@in.ibm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 lines
155 B
SYSTEMD
10 lines
155 B
SYSTEMD
[Unit]
|
|
Description=Monitor the etcd config file changes
|
|
|
|
[Path]
|
|
PathChanged=/run/etcd-new.conf
|
|
Unit=etcd-new.service
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|