aboutsummaryrefslogtreecommitdiffstats
path: root/testing/minio/minio.pre-install
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toastin.space>2019-03-11 22:26:12 -0400
committerCarlo Landmeter <clandmeter@alpinelinux.org>2019-03-12 02:50:35 +0000
commite7b257acce5eb15e013ebfefd57961aa1ef6d8cf (patch)
tree9dab34fdffde1f335988e72d494c8f6b8a5a991b /testing/minio/minio.pre-install
parent28518f8c22d6c34d718dcde9355d9bbf841b7fb2 (diff)
testing/minio: Add openrc, fixup style
Also take ownership.
Diffstat (limited to 'testing/minio/minio.pre-install')
-rw-r--r--testing/minio/minio.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/minio/minio.pre-install b/testing/minio/minio.pre-install
new file mode 100644
index 00000000000..3015873c0fd
--- /dev/null
+++ b/testing/minio/minio.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S minio 2>/dev/null
+adduser -S -D -h /var/lib/minio -s /sbin/nologin -G minio -g minio minio 2>/dev/null
+
+exit 0