aboutsummaryrefslogtreecommitdiffstats
path: root/testing/artifactory-oss/artifactory-oss.pre-install
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-09-15 19:04:52 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-09-15 19:06:40 +0200
commitf9d670f037c4312e870e923a7d8d3fc7ef60f63e (patch)
tree5cf21f3f1d66b066915b4ef4d62d865d66365b45 /testing/artifactory-oss/artifactory-oss.pre-install
parentcf9d16f4f5df593f57bf7b0811741b59166fd211 (diff)
downloadaports-f9d670f037c4312e870e923a7d8d3fc7ef60f63e.tar.bz2
aports-f9d670f037c4312e870e923a7d8d3fc7ef60f63e.tar.xz
testing/artifactory-oss: new aport
https://www.jfrog.com/open-source/ Open source Maven repository manager
Diffstat (limited to 'testing/artifactory-oss/artifactory-oss.pre-install')
-rw-r--r--testing/artifactory-oss/artifactory-oss.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/artifactory-oss/artifactory-oss.pre-install b/testing/artifactory-oss/artifactory-oss.pre-install
new file mode 100644
index 0000000000..161f8fabde
--- /dev/null
+++ b/testing/artifactory-oss/artifactory-oss.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S artifact 2>/dev/null
+adduser -S -D -H -h /var/lib/artifactory -s /sbin/nologin -G artifactory -g artifact artifact 2>/dev/null
+
+exit 0