1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/testing/redis/redis.pre-install
Natanael Copa 728a7325eb 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
2012-06-04 12:52:59 +00:00

5 lines
121 B
Bash

#!/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