From 0e736bceef0f6cf86ddd66eb8563320356fc5c05 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Tue, 7 Apr 2015 22:28:20 +0000 Subject: Upgrade from 2.8.19 to 3.0.0. Merge all changes from databases/redis-devel to databases/redis. Redis 3.0 release notes ======================= --[ Redis 3.0.0 ] Release date: 1 Apr 2015 >> What's new in Redis 3.0 compared to Redis 2.8? * Redis Cluster: a distributed implementation of a subset of Redis. * New "embedded string" object encoding resulting in less cache misses. Big speed gain under certain work loads. * AOF child -> parent final data transmission to minimize latency due to "last write" during AOF rewrites. * Much improved LRU approximation algorithm for keys eviction. * WAIT command to block waiting for a write to be transmitted to the specified number of slaves. * MIGRATE connection caching. Much faster keys migraitons. * MIGARTE new options COPY and REPLACE. * CLIENT PAUSE command: stop processing client requests for a specified amount of time. * BITCOUNT performance improvements. * CONFIG SET accepts memory values in different units (for example you can use "CONFIG SET maxmemory 1gb"). * Redis log format slightly changed reporting in each line the role of the instance (master/slave) or if it's a saving child log. * INCR performance improvements. >> Refactoring changes (no new features nor bug fixes) * Blocking operations full refactoring (blocked.c) * Client output buffer memory tracking refactored. --- databases/redis/files/redis.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'databases/redis/files/redis.in') diff --git a/databases/redis/files/redis.in b/databases/redis/files/redis.in index a7a8b540821a..386639f2c890 100644 --- a/databases/redis/files/redis.in +++ b/databases/redis/files/redis.in @@ -16,20 +16,19 @@ . /etc/rc.subr name="redis" -rcvar=redis_enable +rcvar="${name}_enable" extra_commands="reload" command="%%PREFIX%%/bin/redis-server" +config_file="%%PREFIX%%/etc/$name.conf" +command_args="${config_file}" pidfile="%%REDIS_RUNDIR%%/$name.pid" +required_files="${config_file}" # read configuration and set defaults load_rc_config "$name" : ${redis_enable="NO"} : ${redis_user="%%REDIS_USER%%"} -: ${redis_config="%%PREFIX%%/etc/$name.conf"} - -command_args="${redis_config}" -required_files="${redis_config}" run_rc_command "$1" -- cgit v1.2.3