manage redis config so we can specify storage dir