0

I have an requirement to pass a default .conf file to redis-server executable while starting redis and at the same time i want to override some config param while runnng redis-server executable without touching .conf file

1 Answers1

0

You can just pass the configuration as an argument to the process and then override each one of the properties with -- flag arg.

e.g.

redis-server myredis.conf --requirepass "hello world"
Guy Korland
  • 9,139
  • 14
  • 59
  • 106