summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acct-user/strelaysrv/metadata.xml8
-rw-r--r--acct-user/strelaysrv/strelaysrv-0.ebuild14
2 files changed, 22 insertions, 0 deletions
diff --git a/acct-user/strelaysrv/metadata.xml b/acct-user/strelaysrv/metadata.xml
new file mode 100644
index 000000000000..3e5026ee3754
--- /dev/null
+++ b/acct-user/strelaysrv/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>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/strelaysrv/strelaysrv-0.ebuild b/acct-user/strelaysrv/strelaysrv-0.ebuild
new file mode 100644
index 000000000000..4208dc590e0a
--- /dev/null
+++ b/acct-user/strelaysrv/strelaysrv-0.ebuild
@@ -0,0 +1,14 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for the Syncthing relay server"
+ACCT_USER_ID=496
+ACCT_USER_HOME=/var/lib/strelaysrv
+ACCT_USER_HOME_PERMS=0770
+ACCT_USER_GROUPS=( strelaysrv )
+
+acct-user_add_deps