Accepting request 57621 from home:gladiac:server

OBS-URL: https://build.opensuse.org/request/show/57621
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=14
This commit is contained in:
Pavol Rusnak 2011-01-10 14:11:05 +00:00 committed by Git OBS Bridge
parent 05e5c633e2
commit 0dc98c9c87
3 changed files with 26 additions and 1 deletions

View File

@ -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

View File

@ -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)

View File

@ -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