summaryrefslogtreecommitdiff
path: root/redis
diff options
context:
space:
mode:
authorThomas Penteker <tek@serverop.de>2017-07-26 23:51:51 +0200
committerThomas Penteker <tek@serverop.de>2017-07-26 23:51:51 +0200
commit125fcf0e4d5d2ea2f1d9d65ae5e6bc04b6f446ca (patch)
treef42a5b9496e136ddc4c8f79e5c9e411285682836 /redis
parent6781d0477691f857afcf008096f08c0717f928b2 (diff)
downloadcontrib-125fcf0e4d5d2ea2f1d9d65ae5e6bc04b6f446ca.tar.gz
contrib-125fcf0e4d5d2ea2f1d9d65ae5e6bc04b6f446ca.tar.xz
redis: include pre-install script
Diffstat (limited to 'redis')
-rwxr-xr-xredis/pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/redis/pre-install b/redis/pre-install
new file mode 100755
index 000000000..a5ef3cb12
--- /dev/null
+++ b/redis/pre-install
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+getent passwd redis || useradd -m -d /var/lib/redis -s /bin/false redis
+passwd -l redis

Generated by cgit