only restart redis if the config has changed