SHA256
1
0
forked from pool/redis
redis/redis-conf.patch

23 lines
727 B
Diff

Index: redis.conf
===================================================================
--- redis.conf.orig
+++ redis.conf
@@ -2,7 +2,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 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.
@@ -64,7 +64,7 @@ dbfilename dump.rdb
# For default save/load DB in/from the working directory
# Note that you must specify a directory not a file name.
-dir ./
+dir /var/lib/redis/
################################# REPLICATION #################################