mirror of
https://github.com/fluencelabs/redis
synced 2025-06-27 07:51:33 +00:00
Warns if using the default config
This commit is contained in:
2
redis.c
2
redis.c
@ -4002,6 +4002,8 @@ int main(int argc, char **argv) {
|
||||
} else if (argc > 2) {
|
||||
fprintf(stderr,"Usage: ./redis-server [/path/to/redis.conf]\n");
|
||||
exit(1);
|
||||
} else {
|
||||
redisLog(REDIS_WARNING,"Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'");
|
||||
}
|
||||
initServer();
|
||||
if (server.daemonize) daemonize();
|
||||
|
Reference in New Issue
Block a user