]>
Commit | Line | Data |
---|---|---|
0d272681 AG |
1 | --- redis-4.0.11/redis.conf~ 2018-08-04 00:44:56.000000000 +0200 |
2 | +++ redis-4.0.11/redis.conf 2018-10-14 21:39:17.266544519 +0200 | |
3 | @@ -110,7 +110,7 @@ | |
4 | # unixsocketperm 700 | |
5 | ||
6 | # Close the connection after a client is idle for N seconds (0 to disable) | |
7 | -timeout 0 | |
8 | +timeout 10 | |
9 | ||
10 | # TCP keepalive. | |
11 | # | |
12 | @@ -133,7 +133,7 @@ | |
9702f891 ER |
13 | |
14 | # By default Redis does not run as a daemon. Use 'yes' if you need it. | |
15 | # Note that Redis will write a pid file in /var/run/redis.pid when daemonized. | |
16 | -daemonize no | |
17 | +daemonize yes | |
18 | ||
0d272681 AG |
19 | # If you run Redis from upstart or systemd, Redis can interact with your |
20 | # supervision tree. Options: | |
21 | @@ -155,7 +155,7 @@ | |
9702f891 | 22 | # |
0d272681 AG |
23 | # Creating a pid file is best effort: if Redis is not able to create it |
24 | # nothing bad happens, the server will start and run normally. | |
25 | -pidfile /var/run/redis_6379.pid | |
26 | +pidfile /var/run/redis/redis.pid | |
23836edf | 27 | |
0d272681 AG |
28 | # Specify the server verbosity level. |
29 | # This can be one of: | |
30 | @@ -168,7 +168,7 @@ | |
31 | # Specify the log file name. Also the empty string can be used to force | |
9702f891 ER |
32 | # Redis to log on the standard output. Note that if you use standard |
33 | # output for logging but daemonize, logs will be sent to /dev/null | |
190145c5 | 34 | -logfile "" |
92238102 | 35 | +logfile /var/log/redis/redis.log |
9702f891 | 36 | |
23836edf ER |
37 | # To enable logging to the system logger, just set 'syslog-enabled' to yes, |
38 | # and optionally update the other syslog parameters to suit your needs. | |
0d272681 AG |
39 | @@ -260,7 +260,7 @@ |
40 | # The Append Only File will also be created inside this directory. | |
41 | # | |
9702f891 ER |
42 | # Note that you must specify a directory here, not a file name. |
43 | -dir ./ | |
3f099489 | 44 | +dir /var/lib/redis |
9702f891 ER |
45 | |
46 | ################################# REPLICATION ################################# | |
47 |