Modules: first preview 31 March 2016.

This commit is contained in:
antirez
2016-03-06 13:44:24 +01:00
parent 3b644e82b0
commit 6dead2cff5
13 changed files with 2625 additions and 4 deletions

View File

@ -632,6 +632,8 @@ void loadServerConfigFromString(char *config) {
"Allowed values: 'upstart', 'systemd', 'auto', or 'no'";
goto loaderr;
}
} else if (!strcasecmp(argv[0],"loadmodule") && argc == 2) {
listAddNodeTail(server.loadmodule_queue,sdsnew(argv[1]));
} else if (!strcasecmp(argv[0],"sentinel")) {
/* argc == 1 is handled by main() as we need to enter the sentinel
* mode ASAP. */