Obtain absoute path of configuration file, expose it in INFO.

This commit is contained in:
antirez
2013-05-09 16:57:59 +02:00
parent d8dd70c2dd
commit 7a5d3d91a1
2 changed files with 59 additions and 2 deletions

View File

@ -519,6 +519,7 @@ typedef struct redisOpArray {
struct redisServer {
/* General */
char *configfile; /* Absolute config file path, or NULL */
int hz; /* serverCron() calls frequency in hertz */
redisDb *db;
dict *commands; /* Command table */