Start redis-server with config file

后端 未结 3 1595
孤街浪徒
孤街浪徒 2021-02-04 03:42

I have my config file at:

root/config/redis.rb

I start redis like this: redis-server

How do I start redis so that it uses my co

3条回答
  •  隐瞒了意图╮
    2021-02-04 04:14

    I think that you should make the reference to your config file

    26399:C 16 Jan 08:51:13.413 # Warning: no config file specified, using the default config. In order to specify a config file use ./redis-server /path/to/redis.conf
    

    you can try to start your redis server like

    ./redis-server /path/to/redis-stable/redis.conf
    

提交回复
热议问题