summaryrefslogtreecommitdiff
path: root/databases/redis/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'databases/redis/patches/patch-ac')
-rw-r--r--databases/redis/patches/patch-ac22
1 files changed, 13 insertions, 9 deletions
diff --git a/databases/redis/patches/patch-ac b/databases/redis/patches/patch-ac
index 91bcdee5e8a..d84a9d36c50 100644
--- a/databases/redis/patches/patch-ac
+++ b/databases/redis/patches/patch-ac
@@ -1,23 +1,27 @@
-$NetBSD: patch-ac,v 1.4 2015/04/13 11:33:35 fhajny Exp $
+$NetBSD: patch-ac,v 1.5 2016/05/06 14:00:45 fhajny Exp $
Sane defaults for the config file.
---- redis.conf.orig 2015-04-01 14:01:44.000000000 +0000
+--- redis.conf.orig 2016-05-06 07:11:36.000000000 +0000
+++ redis.conf
-@@ -34,11 +34,11 @@
+@@ -124,7 +124,7 @@ tcp-keepalive 0
# 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 @@ supervised no
+ #
+ # 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_PIDDIR@/redis.pid
- # Accept connections on the specified port, default is 6379.
- # If port 0 is specified Redis will not listen on a TCP socket.
-@@ -100,7 +100,7 @@ loglevel notice
+ # Specify the server verbosity level.
+ # This can be one of:
+@@ -159,7 +159,7 @@ loglevel notice
# 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
@@ -26,7 +30,7 @@ Sane defaults for the config file.
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
# and optionally update the other syslog parameters to suit your needs.
-@@ -184,7 +184,7 @@ dbfilename dump.rdb
+@@ -243,7 +243,7 @@ dbfilename dump.rdb
# The Append Only File will also be created inside this directory.
#
# Note that you must specify a directory here, not a file name.