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 e938575220
commit 5947f170f9
2 changed files with 59 additions and 2 deletions

View File

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