summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2019-06-26 11:17:16 +0100
committerMarek Szuba <marecki@gentoo.org>2019-07-01 10:39:03 +0100
commit7583d3febb0cc4e1a3ebd2445ea4b19b05acae93 (patch)
tree3bf3e1a0a574faac0b82601c598a3fcfa09e130c /acct-user
parentacct-user/rtkit: Add 'rtkit' user (UID 133) (diff)
downloadgentoo-7583d3febb0cc4e1a3ebd2445ea4b19b05acae93.tar.gz
gentoo-7583d3febb0cc4e1a3ebd2445ea4b19b05acae93.tar.bz2
gentoo-7583d3febb0cc4e1a3ebd2445ea4b19b05acae93.zip
acct-user/syncthing: Add 'syncthing' user (UID 499)
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'acct-user')
-rw-r--r--acct-user/syncthing/metadata.xml8
-rw-r--r--acct-user/syncthing/syncthing-0.ebuild14
2 files changed, 22 insertions, 0 deletions
diff --git a/acct-user/syncthing/metadata.xml b/acct-user/syncthing/metadata.xml
new file mode 100644
index 000000000000..3e5026ee3754
--- /dev/null
+++ b/acct-user/syncthing/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/syncthing/syncthing-0.ebuild b/acct-user/syncthing/syncthing-0.ebuild
new file mode 100644
index 000000000000..136d34e4cdb2
--- /dev/null
+++ b/acct-user/syncthing/syncthing-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 system-wide net-p2p/syncthing server"
+ACCT_USER_ID=499
+ACCT_USER_HOME=/var/lib/syncthing
+ACCT_USER_HOME_PERMS=0770
+ACCT_USER_GROUPS=( syncthing )
+
+acct-user_add_deps