redis: remove systemd build option (#1736).
This commit is contained in:
parent
cdc42040e0
commit
9e1cde8edc
1 changed files with 1 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'redis'
|
# Template file for 'redis'
|
||||||
pkgname=redis
|
pkgname=redis
|
||||||
version=3.0.2
|
version=3.0.2
|
||||||
revision=1
|
revision=2
|
||||||
makedepends="jemalloc-devel"
|
makedepends="jemalloc-devel"
|
||||||
homepage="http://redis.io"
|
homepage="http://redis.io"
|
||||||
distfiles="http://download.redis.io/releases/${pkgname}-${version}.tar.gz"
|
distfiles="http://download.redis.io/releases/${pkgname}-${version}.tar.gz"
|
||||||
|
@ -16,7 +16,6 @@ conf_files="/etc/redis/redis.conf"
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/var/lib/redis 0700 redis redis
|
/var/lib/redis 0700 redis redis
|
||||||
/run/redis 0750 redis redis"
|
/run/redis 0750 redis redis"
|
||||||
build_options="systemd"
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
sed -i \
|
sed -i \
|
||||||
|
@ -32,9 +31,5 @@ do_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
||||||
vinstall "redis.conf" 644 "etc/redis"
|
vinstall "redis.conf" 644 "etc/redis"
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
vinstall "${FILESDIR}/redis.service" 644 "usr/lib/systemd/system"
|
|
||||||
fi
|
|
||||||
|
|
||||||
vsv redis
|
vsv redis
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue