Sentinel: test for writable config file.

This commit introduces a funciton called when Sentinel is ready for
normal operations to avoid putting Sentinel specific stuff in redis.c.
This commit is contained in:
antirez
2013-11-21 12:27:14 +01:00
parent 46e2f3468c
commit 4bd1dd1c53
3 changed files with 14 additions and 2 deletions

View File

@ -1187,6 +1187,7 @@ void initSentinelConfig(void);
void initSentinel(void);
void sentinelTimer(void);
char *sentinelHandleConfiguration(char **argv, int argc);
void sentinelIsRunning(void);
/* Scripting */
void scriptingInit(void);