mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 08:26:57 +02:00
fix(app-admin/etcd): figure out bootstraping
This commit is contained in:
parent
6db7db01f4
commit
c48baae65f
@ -35,4 +35,7 @@ src_install() {
|
||||
dosbin ${S}/${PN}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
systemd_enable_service multi-user.target ${PN}.service
|
||||
|
||||
systemd_dounit "${FILESDIR}"/${PN}-bootstrap.service
|
||||
systemd_enable_service multi-user.target ${PN}-bootstrap.service
|
||||
}
|
||||
|
7
sdk_container/src/third_party/coreos-overlay/app-admin/etcd/files/etcd-bootstrap.service
vendored
Normal file
7
sdk_container/src/third_party/coreos-overlay/app-admin/etcd/files/etcd-bootstrap.service
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
[Service]
|
||||
ExecStart=/usr/lib/etcd/host/doozerd/configure.sh
|
||||
Before=etcd.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -1,5 +1,7 @@
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/etcd -a doozer:?ca=1.d.core-os.net:8046
|
||||
ExecStart=/usr/sbin/etcd -a doozer:?ca=${DOOZERD_MASTER}:8046
|
||||
EnvironmentFile=/var/run/etcd/doozerd/EnvironmentFile
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user