redis: run redis as user redis. fixes #2452.
This commit is contained in:
parent
2193c25170
commit
5b687b0e76
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user