diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-06-04 12:49:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-06-04 12:52:59 +0000 |
commit | 728a7325eb258309ecc3213e5b7ec873cbe2e937 (patch) | |
tree | 7f1ebf2e7f90fbcd7de45b4736cc49579f0ae321 /testing/redis/redis.pre-install | |
parent | a121333ef7dfcfe2a27fc85d787e26aae1c63df6 (diff) | |
download | aports-728a7325eb258309ecc3213e5b7ec873cbe2e937.tar.bz2 aports-728a7325eb258309ecc3213e5b7ec873cbe2e937.tar.xz |
testing/redis: various fixes
- avoid building linenoise at install time
- set loglevel to 'notice' by default
- set default log and pidfiles in redis subdir with permissions
- create redis user at pre-install
- fix init.d script to read pid, log and dir from redis.conf
- remove unnneded vars from conf.d
Diffstat (limited to 'testing/redis/redis.pre-install')
-rw-r--r-- | testing/redis/redis.pre-install | 5 |
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 0000000000..2e36f49e07 --- /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 |