app-admin/etcd-wrapper: add the tmpfiles conf

By default, the wrapper uses /var/lib/etcd which was created by the etcd
ebuild. Now that it's being removed, this ebuild needs to explicitly
create it.
This commit is contained in:
Alex Crawford 2017-05-03 17:32:41 +02:00
parent 11ef638f23
commit c7c9880fca
2 changed files with 2 additions and 0 deletions

View File

@ -33,4 +33,5 @@ src_install() {
sed "s|@ETCD_IMAGE_TAG@|${tag}|g" \
"${FILESDIR}"/etcd-member.service > ${T}/etcd-member.service
systemd_dounit ${T}/etcd-member.service
systemd_dotmpfilesd "${FILESDIR}"/etcd-wrapper.conf
}

View File

@ -0,0 +1 @@
d /var/lib/etcd 0755 etcd etcd - -