diff options
Diffstat (limited to 'databases/redis-devel/files/patch-redis.conf')
-rw-r--r-- | databases/redis-devel/files/patch-redis.conf | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/databases/redis-devel/files/patch-redis.conf b/databases/redis-devel/files/patch-redis.conf index 0ade1ddf1195..a5b8e3605ba7 100644 --- a/databases/redis-devel/files/patch-redis.conf +++ b/databases/redis-devel/files/patch-redis.conf @@ -1,21 +1,25 @@ ---- redis.conf.orig 2013-08-13 15:40:42.000000000 +0400 -+++ redis.conf 2013-08-13 15:42:50.000000000 +0400 -@@ -14,11 +14,11 @@ +--- redis.conf.orig 2016-02-02 19:40:49.234427000 -0500 ++++ redis.conf 2016-02-02 19:42:23.136334000 -0500 +@@ -124,7 +124,7 @@ # By default Redis does not run as a daemon. Use 'yes' if you need it. # Note that Redis will write a pid file in /var/run/redis.pid when daemonized. -daemonize no +daemonize yes - # When running daemonized, Redis writes a pid file in /var/run/redis.pid by - # default. You can specify a custom pid file location here. + # If you run Redis from upstart or systemd, Redis can interact with your + # supervision tree. Options: +@@ -146,7 +146,7 @@ + # + # Creating a pid file is best effort: if Redis is not able to create it + # nothing bad happens, the server will start and run normally. -pidfile /var/run/redis.pid +pidfile %%REDIS_RUNDIR%%/redis.pid - # Accept connections on the specified port, default is 6379. - # If port 0 is specified Redis will not listen on a TCP socket. -@@ -71,7 +71,7 @@ - # Specify the log file name. Also the emptry string can be used to force + # Specify the server verbosity level. + # This can be one of: +@@ -159,7 +159,7 @@ + # Specify the log file name. Also the empty string can be used to force # Redis to log on the standard output. Note that if you use standard # output for logging but daemonize, logs will be sent to /dev/null -logfile "" @@ -23,9 +27,9 @@ # To enable logging to the system logger, just set 'syslog-enabled' to yes, # and optionally update the other syslog parameters to suit your needs. -@@ -155,7 +155,7 @@ +@@ -243,7 +243,7 @@ # The Append Only File will also be created inside this directory. - # + # # Note that you must specify a directory here, not a file name. -dir ./ +dir %%REDIS_DBDIR%%/ |