'redis restart not using conf file setting

Recently I found that my redis service auto-restart by itself and not using the redis.conf file configuration.

Any suggestion what is the default location should I place the redis.conf file so that the conf file is effective when the service auto-restart, thanks in advance



Solution 1:[1]

You can use the INFO command to see where is Redis looking for redis.conf file.

Redis INFO command documentation

config_file: The path to the config file

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 usuario