1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
From: Sophie Brun <sophie@kali.org>
Date: Tue, 21 Feb 2023 16:33:10 +0100
Subject: Adapt the redis config file for Kali
---
config/redis-openvas.conf | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/config/redis-openvas.conf b/config/redis-openvas.conf
index 52a89e8..8a1bf53 100644
--- a/config/redis-openvas.conf
+++ b/config/redis-openvas.conf
@@ -106,7 +106,7 @@ tcp-backlog 511
# incoming connections. There is no default, so Redis will not listen
# on a unix socket when not specified.
#
-unixsocket /run/redis-openvas/redis.sock
+unixsocket /run/redis-openvas/redis-server.sock
unixsocketperm 770
# Close the connection after a client is idle for N seconds (0 to disable)
@@ -168,7 +168,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
-logfile ""
+logfile /var/log/redis/redis-server-openvas.log
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
# and optionally update the other syslog parameters to suit your needs.
@@ -250,7 +250,7 @@ rdbcompression yes
rdbchecksum yes
# The filename where to dump the DB
-dbfilename dump.rdb
+dbfilename openvas-dump.rdb
# The working directory.
#
@@ -260,7 +260,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.
-dir ./
+dir /var/lib/redis
################################# REPLICATION #################################
@@ -700,7 +700,7 @@ appendonly no
# The name of the append only file (default: "appendonly.aof")
-appendfilename "appendonly.aof"
+appendfilename "openvas-appendonly.aof"
# The fsync() call tells the Operating System to actually write data on disk
# instead of waiting for more data in the output buffer. Some OS will really flush
|