aboutsummaryrefslogtreecommitdiffstats
path: root/community/elasticsearch/elasticsearch.pre-install
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-05-18 14:55:53 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-18 13:08:51 +0000
commit60af0bb8bcf546079e767783ad5d9213716c59d2 (patch)
tree7c9c8f3f8c90c1249e49f977973dd57d14d3882f /community/elasticsearch/elasticsearch.pre-install
parent6eb97007e515e2b07e28406a186d653d1666392a (diff)
downloadaports-60af0bb8bcf546079e767783ad5d9213716c59d2.tar.bz2
aports-60af0bb8bcf546079e767783ad5d9213716c59d2.tar.xz
testing/elasticsearch: move to community repo
Diffstat (limited to 'community/elasticsearch/elasticsearch.pre-install')
-rw-r--r--community/elasticsearch/elasticsearch.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/elasticsearch/elasticsearch.pre-install b/community/elasticsearch/elasticsearch.pre-install
new file mode 100644
index 0000000000..fe4845bec9
--- /dev/null
+++ b/community/elasticsearch/elasticsearch.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S elastico 2>/dev/null
+adduser -SDH -h /var/lib/elasticsearch -s /sbin/nologin -G elastico \
+ -g "added by apk for elasticsearch" elastico 2>/dev/null
+
+exit 0