13 lines
591 B
Plaintext
13 lines
591 B
Plaintext
$OpenBSD: patch-src_redis_c,v 1.16 2012/11/23 08:29:42 dcoppa Exp $
|
|
--- src/redis.c.orig Thu Nov 22 17:03:27 2012
|
|
+++ src/redis.c Fri Nov 23 08:48:05 2012
|
|
@@ -1116,7 +1116,7 @@ void initServerConfig() {
|
|
server.aof_fd = -1;
|
|
server.aof_selected_db = -1; /* Make sure the first time will not match */
|
|
server.aof_flush_postponed_start = 0;
|
|
- server.pidfile = zstrdup("/var/run/redis.pid");
|
|
+ server.pidfile = zstrdup("${DBDIR}/redis.pid");
|
|
server.rdb_filename = zstrdup("dump.rdb");
|
|
server.aof_filename = zstrdup("appendonly.aof");
|
|
server.requirepass = NULL;
|