diff options
Diffstat (limited to 'community/elasticsearch/elasticsearch.pre-install')
-rw-r--r-- | community/elasticsearch/elasticsearch.pre-install | 7 |
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 |