aboutsummaryrefslogtreecommitdiff
path: root/package/redis
diff options
context:
space:
mode:
authorGravatar Martin Bark <martin@barkynet.com>2015-07-23 12:20:26 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-23 23:15:24 +0200
commitbb1dae2da8f7488d0a8603793310a0ad58c4be1d (patch)
tree18a5aa269854ed910ae2168d7cac9549c22dbb39 /package/redis
parentbc39b87e5ae9c3c167f7e2dac8e5259c4071d7f1 (diff)
downloadbuildroot-bb1dae2da8f7488d0a8603793310a0ad58c4be1d.tar.gz
buildroot-bb1dae2da8f7488d0a8603793310a0ad58c4be1d.tar.bz2
package/redis: Add redis system user
Add a redis system user and set the home directory to /var/lib/redis Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/redis')
-rw-r--r--package/redis/redis.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/redis/redis.mk b/package/redis/redis.mk
index 51c1f9c077..0135cf991f 100644
--- a/package/redis/redis.mk
+++ b/package/redis/redis.mk
@@ -9,6 +9,10 @@ REDIS_SITE = http://download.redis.io/releases
REDIS_LICENSE = BSD-3c (core); MIT and BSD family licenses (Bundled components)
REDIS_LICENSE_FILES = COPYING
+define REDIS_USERS
+ redis -1 redis -1 * /var/lib/redis /bin/false - Redis Server
+endef
+
# Redis doesn't support DESTDIR (yet, see
# https://github.com/antirez/redis/pull/609). We set PREFIX
# instead.