redis: run redis as user redis. fixes #2452.

This commit is contained in:
Enno Boland 2015-09-05 09:05:18 +02:00
parent 2193c25170
commit 5b687b0e76
2 changed files with 2 additions and 2 deletions

View File

@ -7,4 +7,4 @@ if [ ! -d /run/redis ]; then
mkdir -m0750 -p /run/redis
fi
chown redis:redis /run/redis
exec redis-server /etc/redis/redis.conf
exec chpst -u redis:redis redis-server /etc/redis/redis.conf

View File

@ -1,7 +1,7 @@
# Template file for 'redis'
pkgname=redis
version=3.0.3
revision=3
revision=4
makedepends="jemalloc-devel"
homepage="http://redis.io"
distfiles="http://download.redis.io/releases/${pkgname}-${version}.tar.gz"