mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-02 11:01:14 +02:00
app-admin/etcd-wrapper: Port to tmpfiles eclass
This commit is contained in:
parent
cfc5fe67cc
commit
36f9f88e72
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
EAPI=6
|
EAPI=6
|
||||||
|
|
||||||
inherit systemd
|
TMPFILES_OPTIONAL=1
|
||||||
|
inherit systemd tmpfiles
|
||||||
|
|
||||||
DESCRIPTION="etcd (System Application Container)"
|
DESCRIPTION="etcd (System Application Container)"
|
||||||
HOMEPAGE="https://github.com/etcd-io/etcd"
|
HOMEPAGE="https://github.com/etcd-io/etcd"
|
||||||
@ -31,5 +32,5 @@ src_install() {
|
|||||||
sed "s|@ETCD_IMAGE_TAG@|${tag}|g" \
|
sed "s|@ETCD_IMAGE_TAG@|${tag}|g" \
|
||||||
"${FILESDIR}"/etcd-member.service > ${T}/etcd-member.service
|
"${FILESDIR}"/etcd-member.service > ${T}/etcd-member.service
|
||||||
systemd_dounit ${T}/etcd-member.service
|
systemd_dounit ${T}/etcd-member.service
|
||||||
systemd_dotmpfilesd "${FILESDIR}"/etcd-wrapper.conf
|
dotmpfiles "${FILESDIR}"/etcd-wrapper.conf
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user