This is cloned for running redis server.