redisLog(REDIS_WARNING,"cannot send notification to systemd");
close(fd);
return0;
}
close(fd);
return1;
}
intmain(intargc,char**argv){
intmain(intargc,char**argv){
structtimevaltv;
structtimevaltv;
...
@@ -3653,9 +3719,11 @@ int main(int argc, char **argv) {
...
@@ -3653,9 +3719,11 @@ int main(int argc, char **argv) {
}else{
}else{
redisLog(REDIS_WARNING,"Warning: no config file specified, using the default config. In order to specify a config file use %s /path/to/%s.conf",argv[0],server.sentinel_mode?"sentinel":"redis");
redisLog(REDIS_WARNING,"Warning: no config file specified, using the default config. In order to specify a config file use %s /path/to/%s.conf",argv[0],server.sentinel_mode?"sentinel":"redis");