summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-07-07 01:31:05 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-07-07 01:41:52 +0200
commit797089af62cecbab39057ae81d1fd6eaddba93de (patch)
tree0240cc710ac9a3508ef05832b993b4daeb880eac
parentacct-group/mysqld_exporter: new group for app-metrics/mysqld_exporter, GID 308 (diff)
downloadgentoo-797089af62cecbab39057ae81d1fd6eaddba93de.tar.gz
gentoo-797089af62cecbab39057ae81d1fd6eaddba93de.tar.bz2
gentoo-797089af62cecbab39057ae81d1fd6eaddba93de.zip
acct-user/mysqld_exporter: new group for app-metrics/mysqld_exporter, UID 308
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--acct-user/mysqld_exporter/metadata.xml8
-rw-r--r--acct-user/mysqld_exporter/mysqld_exporter-0.ebuild14
2 files changed, 22 insertions, 0 deletions
diff --git a/acct-user/mysqld_exporter/metadata.xml b/acct-user/mysqld_exporter/metadata.xml
new file mode 100644
index 00000000000..a32d600f949
--- /dev/null
+++ b/acct-user/mysqld_exporter/metadata.xml
@@ -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>whissi@gentoo.org</email>
+ <name>Thomas Deutschmann</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/mysqld_exporter/mysqld_exporter-0.ebuild b/acct-user/mysqld_exporter/mysqld_exporter-0.ebuild
new file mode 100644
index 00000000000..2dda2325009
--- /dev/null
+++ b/acct-user/mysqld_exporter/mysqld_exporter-0.ebuild
@@ -0,0 +1,14 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="mysqld_exporter User"
+ACCT_USER_ID=308
+ACCT_USER_HOME=/var/lib/mysqld_exporter
+ACCT_USER_HOME_PERMS=0750
+ACCT_USER_GROUPS=( mysqld_exporter )
+
+acct-user_add_deps