acct-user/etcd: add etcd user
authorWilliam Hubbs <williamh@gentoo.org>
Tue, 25 Feb 2020 05:34:22 +0000 (23:34 -0600)
committerWilliam Hubbs <williamh@gentoo.org>
Tue, 25 Feb 2020 05:34:22 +0000 (23:34 -0600)
Signed-off-by: William Hubbs <williamh@gentoo.org>
acct-user/etcd/etcd-0.ebuild [new file with mode: 0644]
acct-user/etcd/metadata.xml [new file with mode: 0644]

diff --git a/acct-user/etcd/etcd-0.ebuild b/acct-user/etcd/etcd-0.ebuild
new file mode 100644 (file)
index 0000000..83c47c1
--- /dev/null
@@ -0,0 +1,13 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for etcd"
+ACCT_USER_HOME=/var/lib/etcd
+ACCT_USER_ID=426
+ACCT_USER_GROUPS=( etcd )
+
+acct-user_add_deps
diff --git a/acct-user/etcd/metadata.xml b/acct-user/etcd/metadata.xml
new file mode 100644 (file)
index 0000000..c36c371
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>williamh@gentoo.org</email>
+               <name>William Hubbs</name>
+       </maintainer>
+</pkgmetadata>