summaryrefslogtreecommitdiffstats
path: root/testing/redis/redis.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/redis/redis.pre-install')
-rw-r--r--testing/redis/redis.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/redis/redis.pre-install b/testing/redis/redis.pre-install
new file mode 100644
index 000000000..2e36f49e0
--- /dev/null
+++ b/testing/redis/redis.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup redis 2>/dev/null
+adduser -S -H -h /var/lib/redis -s /bin/false -D -G redis redis 2>/dev/null
+exit 0