title: How to configure redis to use environment variable as the dist location path?
body: <p>I have enabled both <code>aof</code> and <code>rdb</code> in my redis server. Redis will save the two files <code>appendonly.aof</code> and <code>dump.rdb</code> on the disk. How can I use environment variables to control the path of these two files? </p>