diff --git a/redis-conf.patch b/redis-conf.patch index 1c655b0..094ed9d 100644 --- a/redis-conf.patch +++ b/redis-conf.patch @@ -11,6 +11,24 @@ Index: redis.conf # When run as a daemon, Redis write a pid file in /var/run/redis.pid by default. # You can specify a custom pid file location here. +@@ -14,7 +14,7 @@ port 6379 + # If you want you can bind a single interface, if the bind option is not + # specified all the interfaces will listen for connections. + # +-# bind 127.0.0.1 ++bind 127.0.0.1 + + # Close the connection after a client is idle for N seconds (0 to disable) + timeout 300 +@@ -24,7 +24,7 @@ timeout 300 + # debug (a lot of information, useful for development/testing) + # notice (moderately verbose, what you want in production probably) + # warning (only very important / critical messages are logged) +-loglevel debug ++loglevel notice + + # Specify the log file name. Also 'stdout' can be used to force + # the demon to log on the standard output. Note that if you use standard @@ -64,7 +64,7 @@ dbfilename dump.rdb # For default save/load DB in/from the working directory diff --git a/redis-initscript.patch b/redis-initscript.patch index 82c58fa..73655c1 100644 --- a/redis-initscript.patch +++ b/redis-initscript.patch @@ -40,7 +40,7 @@ Index: utils/redis_init_script - $EXEC $CONF - fi + echo -n "Starting service Redis " -+ /sbin/startproc -u redis -g redis -p $PIDFILE -s -e $EXEC $CONF ++ /sbin/startproc -u redis -g redis -p $PIDFILE -s -e $EXEC $CONF >/dev/null + rc_status -v ;; stop) diff --git a/redis.changes b/redis.changes index 91365f3..fa75b7f 100644 --- a/redis.changes +++ b/redis.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Jan 9 23:28:39 CET 2011 - asn@cynapses.org + +- bind only to localhost +- reduce the logging level for production +- silence the init script a bit + ------------------------------------------------------------------- Mon May 17 14:26:18 UTC 2010 - mrueckert@suse.de