Add restart rails app command to redis and elasticsearch configs.